From 273af051c0f9ce07f24898f0063e70c9a3c716a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lafr=C3=A9choux?= Date: Thu, 17 Oct 2024 19:08:23 +0200 Subject: [PATCH] Support Python 3.13 --- .github/workflows/build-release.yml | 8 ++++---- pyproject.toml | 1 + tox.ini | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 265b213d..601eb5a2 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -14,9 +14,9 @@ jobs: matrix: include: - { name: "3.9", python: "3.9", tox: py39-marshmallow3 } - - { name: "3.12", python: "3.12", tox: py312-marshmallow3 } + - { name: "3.13", python: "3.13", tox: py313-marshmallow3 } - { name: "lowest", python: "3.9", tox: py39-lowest } - - { name: "dev", python: "3.12", tox: py312-marshmallowdev } + - { name: "dev", python: "3.13", tox: py313-marshmallowdev } steps: - uses: actions/checkout@v4.0.0 - 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.0.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 df57f0b3..064d47af 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", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", ] diff --git a/tox.ini b/tox.ini index 96d1222b..53e638bb 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,8 @@ [tox] envlist= lint - py{39,310,311,312}-marshmallow3 - py312-marshmallowdev + py{39,310,311,312,313}-marshmallow3 + py313-marshmallowdev py39-lowest docs