From d4be3ba6b3ccc65553a7dd10ad559c1eddfbb19b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Gr=C3=BCbel?= Date: Tue, 22 Oct 2024 09:31:59 +0200 Subject: [PATCH] feat: Add Python 3.13 support (#718) Signed-off-by: gruebel --- .github/workflows/python.yml | 7 ++++--- pyproject.toml | 1 + tox.ini | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 9f46c3ad..444ea2e2 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -82,7 +82,7 @@ jobs: include: - # test with the latest dependencies os: ubuntu-latest - python-version: '3.12' + python-version: '3.13' toxenv-factors: '-current' - # test with the lowest dependencies os: ubuntu-latest @@ -117,7 +117,8 @@ jobs: matrix: os: ['ubuntu-latest', 'windows-latest', 'macos-13'] python-version: - - "3.12" # highest supported + - "3.13" # highest supported + - "3.12" - "3.11" - "3.10" - "3.9" @@ -215,7 +216,7 @@ jobs: # see https://github.com/actions/setup-python uses: actions/setup-python@v5 with: - python-version: '>=3.8 <=3.12' # supported version range + python-version: '>=3.8 <=3.13' # supported version range - name: Validate Python Environment shell: python run: | diff --git a/pyproject.toml b/pyproject.toml index f318d391..3d246470 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,6 +52,7 @@ classifiers = [ 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Typing :: Typed', ] keywords = [ diff --git a/tox.ini b/tox.ini index 190ae959..4eace2fc 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,7 @@ minversion = 4.0 envlist = flake8 mypy-{current,lowest} - py{312,311,310,39,38}-{allExtras,noExtras} + py{313,312,311,310,39,38}-{allExtras,noExtras} bandit skip_missing_interpreters = True usedevelop = False