From 61a39a8eb71720664888c72716771d0392579c6e Mon Sep 17 00:00:00 2001 From: Yuta Kasai Date: Tue, 31 Oct 2023 21:32:51 +0900 Subject: [PATCH] Support Python 3.12 --- .github/workflows/auto-testing.yml | 8 ++++++-- README.rst | 1 + setup.py | 1 + tox.ini | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-testing.yml b/.github/workflows/auto-testing.yml index b318f892b..99778f053 100644 --- a/.github/workflows/auto-testing.yml +++ b/.github/workflows/auto-testing.yml @@ -14,8 +14,12 @@ jobs: runs-on: ubuntu-latest strategy: 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@v4 with: diff --git a/README.rst b/README.rst index b0c48663b..2391a59b7 100644 --- a/README.rst +++ b/README.rst @@ -378,6 +378,7 @@ Test by using tox. We test against the following versions. - 3.9 - 3.10 - 3.11 +- 3.12 To run all tests and to run ``flake8`` against all versions, use: diff --git a/setup.py b/setup.py index 25afcaa46..749f2bdd4 100644 --- a/setup.py +++ b/setup.py @@ -204,6 +204,7 @@ def run(self): "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Software Development" ] ) diff --git a/tox.ini b/tox.ini index b12e52fac..5c33be57a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py3.8, py3.9, py3.10, py3.11, py3-flake8-src, py3-flake8-other +envlist = py3.8, py3.9, py3.10, py3.11, py3.12, py3-flake8-src, py3-flake8-other [testenv] deps =