From 4b6d926ba5893a93136ef754c55197f9834cab84 Mon Sep 17 00:00:00 2001 From: Kevin Deldycke Date: Tue, 8 Oct 2024 14:15:44 +0400 Subject: [PATCH] Add official support for Python 3.13 --- .github/workflows/tests.yaml | 4 ++-- changelog.md | 1 + pyproject.toml | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index bcc431b03..9629a3b0d 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -50,7 +50,7 @@ jobs: "3.10", "3.11", "3.12", - "3.13-dev", + "3.13", "3.14-dev", }, "click-version": { @@ -94,10 +94,10 @@ jobs: {"os": "macos-13"}, {"os": "windows-2019"}, # Exclude Python's dev version. - {"python-version": "3.13-dev"}, {"python-version": "3.14-dev"}, # Exclude intermediate Python version. Only test on oldest and newest released Python versions. {"python-version": "3.11"}, + {"python-version": "3.12"}, ): exclude.append({**dev_version, **criterion}) diff --git a/changelog.md b/changelog.md index 8a62bd27a..185b91bee 100644 --- a/changelog.md +++ b/changelog.md @@ -5,6 +5,7 @@ > [!IMPORTANT] > This version is not released yet and is under active development. +- Add support for Python 3.13. - Drop supports for Python 3.9. - Run tests on Python 3.14-dev. - Add tests on `ubuntu-24.04`. Remove tests on `ubuntu-20.04`. diff --git a/pyproject.toml b/pyproject.toml index f41934881..3889ccab7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,6 +46,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", 'Programming Language :: Python :: Implementation :: CPython', 'Topic :: Documentation :: Sphinx', 'Topic :: Software Development :: Libraries :: Python Modules',