diff --git a/.github/workflows/ci-linux.yaml b/.github/workflows/ci-linux.yaml index 0df7e104..c9d0402a 100644 --- a/.github/workflows/ci-linux.yaml +++ b/.github/workflows/ci-linux.yaml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] os: [ubuntu-latest] steps: diff --git a/.github/workflows/ci-osx.yaml b/.github/workflows/ci-osx.yaml index 51ae7fdf..684736ac 100644 --- a/.github/workflows/ci-osx.yaml +++ b/.github/workflows/ci-osx.yaml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] steps: - name: Checkout source diff --git a/.github/workflows/ci-windows.yaml b/.github/workflows/ci-windows.yaml index a03ab487..aa675079 100644 --- a/.github/workflows/ci-windows.yaml +++ b/.github/workflows/ci-windows.yaml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] steps: - name: Checkout source diff --git a/setup.py b/setup.py index 02551c5d..18e9aaa0 100644 --- a/setup.py +++ b/setup.py @@ -363,6 +363,7 @@ def run_setup(with_extensions): "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", ], author='Alistair Miles', author_email='alimanfoo@googlemail.com', diff --git a/tox.ini b/tox.ini index e2a48b6b..c96b80a8 100644 --- a/tox.ini +++ b/tox.ini @@ -3,17 +3,17 @@ # To use it, "pip install tox" and then run "tox" from this directory. [tox] -envlist = py37, py38, py39, py310, docs +envlist = py37, py38, py39, py310, py311, docs [testenv] setenv = PYTHONHASHSEED = 42 # hooks for coverage exclusions based on Python major version - py37,py38,py39,py310: PY_MAJOR_VERSION = py3 + py37,py38,py39,py310,py311: PY_MAJOR_VERSION = py3 commands = python setup.py build_ext --inplace - py37,py38,py39: pytest -v --cov=numcodecs numcodecs - py310: pytest -v --cov=numcodecs --doctest-modules --doctest-glob=*.pyx numcodecs + py37,py38,py39,310: pytest -v --cov=numcodecs numcodecs + py311: pytest -v --cov=numcodecs --doctest-modules --doctest-glob=*.pyx numcodecs coverage report -m py310: flake8 numcodecs pip freeze @@ -22,7 +22,7 @@ deps = -rrequirements_test.txt [testenv:docs] -basepython = python3.10 +basepython = python3.11 changedir = docs deps = -rrequirements_rtfd.txt