From 4ce82358e88357982676153c0141236d32c1d36b Mon Sep 17 00:00:00 2001 From: Jelmer Draaijer Date: Tue, 31 Oct 2023 08:42:48 +0100 Subject: [PATCH] Add Python 3.12 to test matrix and add classifiers --- .github/workflows/tox.yml | 2 +- setup.py | 1 + tox.ini | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index d253148f..2c0d737d 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] # All OSes pass except Windows because tests need Unix-only fcntl, grp, pwd, etc. - python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.8" ] + python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.8" ] steps: - uses: actions/checkout@v4 - name: Using Python ${{ matrix.python-version }} diff --git a/setup.py b/setup.py index dffd418c..77413acd 100644 --- a/setup.py +++ b/setup.py @@ -28,6 +28,7 @@ CLASSIFIERS = [ 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', diff --git a/tox.ini b/tox.ini index a7b7d38c..aedd522f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{37,38,39,310,311,py3}, lint, docs-lint, pycodestyle +envlist = py{37,38,39,310,311,312,py3}, lint, docs-lint, pycodestyle skipsdist = false ; Can't set skipsdist and use_develop in tox v4 to true due to https://github.com/tox-dev/tox/issues/2730