Skip to content

Commit

Permalink
Check compatibility with numba 0.57 and python 3.11 (#113)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ianthomas23 authored May 10, 2023
1 parent 3524892 commit e4d4760
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
shell: bash -l {0}
env:
CHANS_DEV: "-c pyviz/label/dev -c conda-forge"
PKG_TEST_PYTHON: "--test-python=py37"
PYTHON_VERSION: "3.7"
PKG_TEST_PYTHON: "--test-python=py38"
PYTHON_VERSION: "3.8"
CHANS: "-c pyviz"
CONDA_UPLOAD_TOKEN: ${{ secrets.CONDA_UPLOAD_TOKEN }}
steps:
Expand Down Expand Up @@ -67,8 +67,8 @@ jobs:
shell: bash -l {0}
env:
CHANS_DEV: "-c pyviz/label/dev -c conda-forge"
PKG_TEST_PYTHON: "--test-python=py37"
PYTHON_VERSION: "3.7"
PKG_TEST_PYTHON: "--test-python=py38"
PYTHON_VERSION: "3.8"
CHANS: "-c pyviz"
PPU: ${{ secrets.PPU }}
PPP: ${{ secrets.PPP }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: [3.7, 3.8, 3.9, '3.10']
python-version: ["3.8", "3.9", "3.10", "3.11"]
timeout-minutes: 90
defaults:
run:
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
doit ecosystem_setup
conda create -n test-environment python=${{ matrix.python-version }}
conda activate test-environment
conda config --env --append channels pyviz/label/dev --append channels conda-forge
conda config --env --append channels pyviz/label/dev --append channels numba --append channels conda-forge
conda install pyctdev
- name: doit develop_install
run: |
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
url='https://github.com/holoviz/spatialpandas',
maintainer='HoloViz developers',
maintainer_email='[email protected]',
python_requires='>=3.7',
python_requires='>=3.8',
install_requires=install_requires,
extras_require=extras_require,
tests_require=extras_require['tests'],
Expand All @@ -63,7 +63,6 @@
"License :: OSI Approved :: BSD License",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down
4 changes: 0 additions & 4 deletions spatialpandas/tests/test_parquet_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import os
import shlex
import subprocess
import sys
import time

import dask.dataframe as dd
Expand All @@ -19,9 +18,6 @@
s3fs = pytest.importorskip("s3fs")
requests = pytest.importorskip("requests")

if sys.version_info < (3, 8):
pytest.skip("requires python3.8 or higher", allow_module_level=True)

logging.getLogger("botocore").setLevel(logging.INFO)


Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

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

[_lint]
Expand Down

0 comments on commit e4d4760

Please sign in to comment.