From 8ba3d7c254963d1ab5c0b19ed572f5b04d9e97b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lafr=C3=A9choux?= Date: Fri, 25 Oct 2024 00:55:32 +0200 Subject: [PATCH] Support Python 3.13 --- .github/workflows/build-release.yml | 6 +++--- pyproject.toml | 1 + tox.ini | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 33d72ce1..4ef79d09 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -11,7 +11,7 @@ jobs: matrix: include: - { name: '3.9', python: '3.9', tox: py39 } - - { name: '3.12', python: '3.12', tox: py312 } + - { name: '3.13', python: '3.13', tox: py313 } steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -31,7 +31,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.13" - name: Install pypa/build run: python -m pip install build - name: Build a binary wheel and a source tarball @@ -54,7 +54,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.13" - run: python -m pip install tox - run: python -m tox -e lint publish-to-pypi: diff --git a/pyproject.toml b/pyproject.toml index b4685cdf..4ea15bbd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] requires-python = ">=3.9" dependencies = [ diff --git a/tox.ini b/tox.ini index 3afb7cc5..249e329a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = lint,py39,py310,py311,py312 +envlist = lint,py39,py310,py311,py312,py313 skip_missing_interpreters = True [testenv]