From 2fac95616d7d26cc536867412fd9d8f488d85c9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=A4ufl?= Date: Fri, 18 Oct 2024 18:04:09 +0200 Subject: [PATCH] Support Python 3.13 --- .github/workflows/ci-branch.yaml | 2 +- .github/workflows/ci-pr.yaml | 2 +- CONTRIBUTING.md | 1 + pyproject.toml | 1 + tox.ini | 2 +- 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-branch.yaml b/.github/workflows/ci-branch.yaml index 2dc9eff91d..9d309b5ea0 100644 --- a/.github/workflows/ci-branch.yaml +++ b/.github/workflows/ci-branch.yaml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python: [ "3.8", "3.9", "3.10", "3.11", "3.12" ] + python: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/ci-pr.yaml b/.github/workflows/ci-pr.yaml index ede552f61e..c18e4cf05a 100644 --- a/.github/workflows/ci-pr.yaml +++ b/.github/workflows/ci-pr.yaml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2b9f33e63c..c0e2682464 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -60,6 +60,7 @@ Tox test suites available: * **py310**: Unit tests (Python 3.10) * **py311**: Unit tests (Python 3.11) * **py312**: Unit tests (Python 3.12) +* **py313**: Unit tests (Python 3.13) * **style**: Python syntax check ## Contributing via Pull Requests diff --git a/pyproject.toml b/pyproject.toml index fb7f27a8c5..32faba5442 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,6 +33,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] dynamic = ["version", "readme"] dependencies = [ diff --git a/tox.ini b/tox.ini index 24c3f00e4a..6489cccf49 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{38,39,310,311,312},style +envlist = py{38,39,310,311,312,313},style isolated_build = true [testenv]