diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 44bbcb9..c01047e 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -23,7 +23,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} diff --git a/CHANGELOG.md b/CHANGELOG.md index fe0853f..ec53c18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ All notable changes to this project will be documented here. ## [Unreleased] +### Added +- Official support for Python 3.12 and `numpy` 1.26. ## [1.0.1] - 2023-07-23 ### Changed diff --git a/pyproject.toml b/pyproject.toml index 3b45224..72c12b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,6 +37,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Scientific/Engineering", ] diff --git a/tox.ini b/tox.ini index 5ea44d9..ae1e5bd 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = global-init,py38-numpy1.{17,19,21,22,23,24},py39-numpy1.{17,19,21,22,23,24,25},py310-numpy1.{21,22,23,24,25},py311-numpy1.{23,24,25},global-finalize +envlist = global-init,py38-numpy1.{17,19,21,22,23,24},py39-numpy1.{17,19,21,22,23,24,25},py310-numpy1.{21,22,23,24,25},py311-numpy1.{23,24,25},py312-numpy1.26,global-finalize [gh-actions] python = @@ -7,6 +7,7 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 [testenv:global-init] skip_install = True @@ -27,6 +28,7 @@ deps = numpy1.23: numpy>=1.23,<1.24 numpy1.24: numpy>=1.24,<1.25 numpy1.25: numpy>=1.25,<1.26 + numpy1.26: numpy>=1.26,<1.27 setenv = COVERAGE_FILE = {toxworkdir}/.coverage.{envname} commands = py.test test -v --cov=plyfile