From 25b59945484257d77f6467613e58a54af4de9bb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lafr=C3=A9choux?= Date: Thu, 17 Oct 2024 18:29:34 +0200 Subject: [PATCH] Support Python 3.13 --- .github/workflows/build-release.yml | 16 ++++++++-------- pyproject.toml | 1 + tox.ini | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index e2b60c36..df420756 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -22,16 +22,16 @@ jobs: tox: py39-marshmallow3, } - { - name: "3.12-ma3", - python: "3.12", + name: "3.13-ma3", + python: "3.13", os: ubuntu-latest, - tox: py312-marshmallow3, + tox: py313-marshmallow3, } - { - name: "3.12-madev", - python: "3.12", + name: "3.13-madev", + python: "3.13", os: ubuntu-latest, - tox: py312-marshmallowdev, + tox: py313-marshmallowdev, } steps: - uses: actions/checkout@v4.2.0 @@ -47,7 +47,7 @@ jobs: - uses: actions/checkout@v4.2.0 - 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 @@ -70,7 +70,7 @@ jobs: - uses: actions/checkout@v4.2.0 - 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 e38c63bf..081d0c21 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,6 +18,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] keywords = [ "apispec", diff --git a/tox.ini b/tox.ini index 0ec796de..0c5481d3 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist= lint - py{39,310,311,312}-marshmallow3 + py{39,310,311,312,313}-marshmallow3 py312-marshmallowdev docs