Skip to content

Commit e4d4760

Browse files
authored
Check compatibility with numba 0.57 and python 3.11 (#113)
* Check compatibility with numba 0.57 and python 3.11 * Add numba channel * Tox update * Switch to numba 0.57 release not RC * Remove numba version pin * Remove python 3.7 version check * Linting * Minimum python 3.8 in classifiers and CI
1 parent 3524892 commit e4d4760

File tree

5 files changed

+8
-13
lines changed

5 files changed

+8
-13
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
shell: bash -l {0}
2929
env:
3030
CHANS_DEV: "-c pyviz/label/dev -c conda-forge"
31-
PKG_TEST_PYTHON: "--test-python=py37"
32-
PYTHON_VERSION: "3.7"
31+
PKG_TEST_PYTHON: "--test-python=py38"
32+
PYTHON_VERSION: "3.8"
3333
CHANS: "-c pyviz"
3434
CONDA_UPLOAD_TOKEN: ${{ secrets.CONDA_UPLOAD_TOKEN }}
3535
steps:
@@ -67,8 +67,8 @@ jobs:
6767
shell: bash -l {0}
6868
env:
6969
CHANS_DEV: "-c pyviz/label/dev -c conda-forge"
70-
PKG_TEST_PYTHON: "--test-python=py37"
71-
PYTHON_VERSION: "3.7"
70+
PKG_TEST_PYTHON: "--test-python=py38"
71+
PYTHON_VERSION: "3.8"
7272
CHANS: "-c pyviz"
7373
PPU: ${{ secrets.PPU }}
7474
PPP: ${{ secrets.PPP }}

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
28-
python-version: [3.7, 3.8, 3.9, '3.10']
28+
python-version: ["3.8", "3.9", "3.10", "3.11"]
2929
timeout-minutes: 90
3030
defaults:
3131
run:
@@ -53,7 +53,7 @@ jobs:
5353
doit ecosystem_setup
5454
conda create -n test-environment python=${{ matrix.python-version }}
5555
conda activate test-environment
56-
conda config --env --append channels pyviz/label/dev --append channels conda-forge
56+
conda config --env --append channels pyviz/label/dev --append channels numba --append channels conda-forge
5757
conda install pyctdev
5858
- name: doit develop_install
5959
run: |

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
url='https://github.com/holoviz/spatialpandas',
5353
maintainer='HoloViz developers',
5454
maintainer_email='[email protected]',
55-
python_requires='>=3.7',
55+
python_requires='>=3.8',
5656
install_requires=install_requires,
5757
extras_require=extras_require,
5858
tests_require=extras_require['tests'],
@@ -63,7 +63,6 @@
6363
"License :: OSI Approved :: BSD License",
6464
"Development Status :: 5 - Production/Stable",
6565
"Programming Language :: Python :: 3",
66-
"Programming Language :: Python :: 3.7",
6766
"Programming Language :: Python :: 3.8",
6867
"Programming Language :: Python :: 3.9",
6968
"Programming Language :: Python :: 3.10",

spatialpandas/tests/test_parquet_s3.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import os
33
import shlex
44
import subprocess
5-
import sys
65
import time
76

87
import dask.dataframe as dd
@@ -19,9 +18,6 @@
1918
s3fs = pytest.importorskip("s3fs")
2019
requests = pytest.importorskip("requests")
2120

22-
if sys.version_info < (3, 8):
23-
pytest.skip("requires python3.8 or higher", allow_module_level=True)
24-
2521
logging.getLogger("botocore").setLevel(logging.INFO)
2622

2723

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[tox]
55
# python version test group extra envs extra commands
6-
envlist = {py37,py38,py39,py310}-{lint,unit,unit_deploy,all}-{default}-{dev,pkg}
6+
envlist = {py38,py39,py310,py311}-{lint,unit,unit_deploy,all}-{default}-{dev,pkg}
77
build = wheel
88

99
[_lint]

0 commit comments

Comments
 (0)