From 224be59862aa4495b3d12d82614971d151007d2b Mon Sep 17 00:00:00 2001 From: Frank Sachsenheim Date: Mon, 23 Oct 2023 17:05:49 +0200 Subject: [PATCH] Adds support for Python 3.12 --- .github/workflows/tests.yml | 3 ++- pyproject.toml | 1 + tox.ini | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 046f6475..bf5e4ceb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,6 +27,7 @@ jobs: - 3.9 # 2025-10 - "3.10" # 2026-10 - 3.11 # 2027-10 + - 3.12 # 2028-10 - pypy3.7 - pypy3.8 - pypy3.9 @@ -63,7 +64,7 @@ jobs: ref: ${{ inputs.ref || github.ref }} - uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: "3.12" - run: python -m pip install tox - run: tox -e ${{ matrix.environment }} diff --git a/pyproject.toml b/pyproject.toml index 909c65bb..89f34017 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,6 +30,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 :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] diff --git a/tox.ini b/tox.ini index 902e16f8..6672417e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist=py37,py38,py39,py310,py311,pypy3,doclinks,doctest,linting +envlist=py37,py38,py39,py310,py311,py312,pypy3,doclinks,doctest,linting [testenv] deps=pytest