From 236fab9ab655c5cb4dd6efdbcb6d352119fce676 Mon Sep 17 00:00:00 2001 From: Jon Parise Date: Fri, 20 Oct 2023 19:27:52 -0700 Subject: [PATCH] Add support for Python 3.12 --- .github/workflows/ci.yml | 2 +- setup.py | 1 + tox.ini | 6 ++++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78985d1..51bdc2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9, "3.10", "3.11", pypy-3.7] + python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12", pypy-3.7] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/setup.py b/setup.py index 3d6fddb..17ea81d 100644 --- a/setup.py +++ b/setup.py @@ -64,6 +64,7 @@ def run_tests(self): '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', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Quality Assurance', diff --git a/tox.ini b/tox.ini index a5a3784..47b1b07 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,8 @@ envlist = py39-flake8-{v5,v6,latest}, py310-flake8-{v5,v6,latest}, py311-flake8-{v5,v6,latest}, - py311-flake8, + py312-flake8-{v5,v6,latest}, + py312-flake8, pypy3 [gh-actions] @@ -14,7 +15,8 @@ python = 3.8: py38 3.9: py39 3.10: py310 - 3.11: py311, py311-flake8 + 3.11: py311 + 3.12: py312, py312-flake8 pypy-3.7: pypy3 [testenv]