From 86186867f9b4b79a863b4501e75d81d03acd11dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lafr=C3=A9choux?= Date: Thu, 4 Dec 2025 15:25:09 +0100 Subject: [PATCH] Support Python 3.13 and 3.14 --- .github/workflows/build-release.yaml | 6 +++--- pyproject.toml | 2 ++ requirements/install.txt | 2 +- tox.ini | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index badcf170..7ffe2208 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -13,7 +13,7 @@ jobs: matrix: include: - {name: '3.9', python: '3.9', tox: py39} - - {name: '3.12', python: '3.12', tox: py312} + - {name: '3.14', python: '3.14', tox: py314} - {name: 'min', python: '3.9', tox: min} steps: - uses: actions/checkout@v4 @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: "3.14" - name: Install pypa/build run: python -m pip install build - name: Build a binary wheel and a source tarball @@ -60,7 +60,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.12 + python-version: 3.14 - run: python -m pip install tox - run: python -m tox -elint publish-to-pypi: diff --git a/pyproject.toml b/pyproject.toml index 256a7e1b..bb0eadc4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,8 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] requires-python = ">=3.9" dependencies = [ diff --git a/requirements/install.txt b/requirements/install.txt index a25ff84b..3a079300 100644 --- a/requirements/install.txt +++ b/requirements/install.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with Python 3.11 # by the following command: # -# pip-compile --output-file=requirements/install.txt pyproject.toml +# pip-compile --cert=None --client-cert=None --index-url=None --output-file=requirements/install.txt --pip-args=None pyproject.toml # alembic==1.14.0 # via bemserver-core (pyproject.toml) diff --git a/tox.ini b/tox.ini index c6a6e927..fec719a2 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = lint,py39,py310,py311,py312,min +envlist = lint,py39,py310,py311,py312,py313,py314,min skip_missing_interpreters = True [testenv]