diff --git a/.black.cfg.toml b/.black.cfg.toml index a38c1f28..aefe722f 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'] +target-version = ['py39', 'py310', 'py311', 'py312'] diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7336bc4a..bfe02f48 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,6 +31,7 @@ jobs: - "3.9" - "3.10" - "3.11" + - "3.12" steps: - name: Check Out VCS Repository @@ -87,6 +88,7 @@ jobs: - "3.9" - "3.10" - "3.11" + - "3.12" steps: - name: Check Out VCS Repository diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index eb910aba..50469ded 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.11" + python-version: "3.12" - name: Restoring/Saving Cache uses: actions/cache@v4.3.0 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f2225d7e..03cdd92f 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.11" + python-version: "3.12" - name: Create Python Virtual Environment run: make python-virtualenv PYTHON_VIRTUALENV_DIR="venv" diff --git a/README.md b/README.md index 200744ad..931f18a6 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,8 @@ The full documentation is at . ## Supported Python versions -Only Python 3.9, 3.10, and 3.11. Python 3.8 and below will not work because we use some features -introduced in Python 3.9. +Only Python 3.9, 3.10, 3.11, and 3.12. 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 90e7ad24..71e894e0 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.12" +requires-python = ">=3.9, <3.13" authors = [ {name = "Fyntex TI SpA", email = "no-reply@fyntex.ai"}, ] @@ -45,6 +45,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ] dynamic = ["version"] diff --git a/tox.ini b/tox.ini index cfeac9c0..502a578b 100644 --- a/tox.ini +++ b/tox.ini @@ -3,6 +3,7 @@ envlist = py39, py310, py311, + py312, [testenv] setenv = @@ -15,3 +16,4 @@ basepython = py39: python3.9 py310: python3.10 py311: python3.11 + py312: python3.12