From 18a871ef56ba1041c11b5041a3a9d6c566ba13b0 Mon Sep 17 00:00:00 2001 From: Jose Tomas Robles Hahn Date: Wed, 29 Oct 2025 20:18:22 -0300 Subject: [PATCH] chore: Add support for Python 3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add Python 3.13 to Python Project Configuration. - Add Tox environment for Python 3.13. - Add Python 3.13 to target versions of 'Black'. - Add Python 3.13 to GitHub Actions configuration. - Update documentation to reflect support for Python 3.13. More information: [What’s New In Python 3.13](https://docs.python.org/3.13/whatsnew/3.13.html) --- .black.cfg.toml | 2 +- .github/workflows/ci.yaml | 2 ++ .github/workflows/deploy.yaml | 2 +- .github/workflows/release.yaml | 2 +- README.md | 2 +- pyproject.toml | 3 ++- tox.ini | 2 ++ 7 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.black.cfg.toml b/.black.cfg.toml index aefe722f..31e51fb9 100644 --- a/.black.cfg.toml +++ b/.black.cfg.toml @@ -9,4 +9,4 @@ include = '\.pyi?$' line-length = 100 skip-string-normalization = true -target-version = ['py39', 'py310', 'py311', 'py312'] +target-version = ['py39', 'py310', 'py311', 'py312', 'py313'] diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bfe02f48..33ad8b4d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,6 +32,7 @@ jobs: - "3.10" - "3.11" - "3.12" + - "3.13" steps: - name: Check Out VCS Repository @@ -89,6 +90,7 @@ jobs: - "3.10" - "3.11" - "3.12" + - "3.13" steps: - name: Check Out VCS Repository diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 50469ded..877616d9 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -44,7 +44,7 @@ jobs: id: set_up_python uses: actions/setup-python@v6.0.0 with: - python-version: "3.12" + python-version: "3.13" - name: Restoring/Saving Cache uses: actions/cache@v4.3.0 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 03cdd92f..ce517cd6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -41,7 +41,7 @@ jobs: id: set_up_python uses: actions/setup-python@v6.0.0 with: - python-version: "3.12" + python-version: "3.13" - name: Create Python Virtual Environment run: make python-virtualenv PYTHON_VIRTUALENV_DIR="venv" diff --git a/README.md b/README.md index 931f18a6..5b7b1888 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ The full documentation is at . ## Supported Python versions -Only Python 3.9, 3.10, 3.11, and 3.12. Python 3.8 and below will not work because we use some +Only Python 3.9, 3.10, 3.11, 3.12, and 3.13. Python 3.8 and below will not work because we use some features introduced in Python 3.9. ## Quickstart diff --git a/pyproject.toml b/pyproject.toml index 71e894e0..9aabaad9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ dependencies = [ "signxml>=4.0.0", "typing-extensions>=4.0.1", ] -requires-python = ">=3.9, <3.13" +requires-python = ">=3.9, <3.14" authors = [ {name = "Fyntex TI SpA", email = "no-reply@fyntex.ai"}, ] @@ -46,6 +46,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] dynamic = ["version"] diff --git a/tox.ini b/tox.ini index 502a578b..b8da266f 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ envlist = py310, py311, py312, + py313, [testenv] setenv = @@ -17,3 +18,4 @@ basepython = py310: python3.10 py311: python3.11 py312: python3.12 + py313: python3.13