From 2fb354fcd8e71afd70b04508d6d575e039bfd2a2 Mon Sep 17 00:00:00 2001 From: jce Date: Fri, 13 Oct 2023 10:23:14 +0200 Subject: [PATCH] Support Python 3.12 officially --- .github/workflows/python-package.yml | 2 +- setup.py | 1 + tox.ini | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 371ffe7..f9026fd 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} diff --git a/setup.py b/setup.py index b1d8eec..181476a 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,7 @@ 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', ], keywords=[ 'Jira', diff --git a/tox.ini b/tox.ini index 8fb6d67..3f5d872 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py37, py38, py39, py310, py3.11 + py37, py38, py39, py310, py311, py312 clean, check, @@ -11,6 +11,7 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 [testenv] basepython = @@ -21,6 +22,7 @@ basepython = py39: {env:TOXPYTHON:python3.9} py310: {env:TOXPYTHON:python3.10} py311: {env:TOXPYTHON:python3.11} + py312: {env:TOXPYTHON:python3.12} {clean,check,report,coveralls}: python3 setenv = PYTHONPATH={toxinidir}/tests