From 7382260ed40b3e39dbe97883e88e18d84bf217ea Mon Sep 17 00:00:00 2001 From: Jendrik Seipp Date: Fri, 6 Oct 2023 15:19:51 +0200 Subject: [PATCH] Add support for Python 3.12. --- .github/workflows/main.yml | 2 +- setup.py | 1 + tox.ini | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ab4a511a..301e24e5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs: fail-fast: false matrix: os: [macos-latest, ubuntu-latest, windows-latest] - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: - name: Checkout code diff --git a/setup.py b/setup.py index e3a3fbcc..3914be97 100644 --- a/setup.py +++ b/setup.py @@ -42,6 +42,7 @@ def find_version(*parts): "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Quality Assurance", diff --git a/tox.ini b/tox.ini index 05b75b83..b2eb3d58 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = cleanup, py{38,310,311}, style # Skip py39 since it chokes on distutils. +envlist = cleanup, py{38,310,311,312}, style # Skip py39 since it chokes on distutils. skip_missing_interpreters = true # Erase old coverage results, then accumulate them during this tox run.