From 0d810582f8f03dc1a3549f8497a7f61aab216de3 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 7 Oct 2024 11:01:44 +0300 Subject: [PATCH] Add support for Python 3.13 --- .github/workflows/test.yml | 3 ++- pyproject.toml | 1 + tox.ini | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aca51035..ba7fca92 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["pypy-2.7", "pypy-3.8", "2.7", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["pypy-2.7", "pypy-3.8", "2.7", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] os: [ubuntu-latest, macos-latest, windows-latest] include: # Add new helper variables to existing jobs @@ -24,6 +24,7 @@ jobs: - {python-version: "3.10", toxenv: "py310"} - {python-version: "3.11", toxenv: "py311"} - {python-version: "3.12", toxenv: "py312"} + - {python-version: "3.13", toxenv: "py313"} steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 21ea5ac5..671b0040 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,6 +39,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", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Terminals", diff --git a/tox.ini b/tox.ini index 03d211af..ead83492 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] isolated_build = true -envlist = py{27, 37, 38, 39, 310, 311, 312, py, py3} +envlist = py{27, 37, 38, 39, 310, 311, 312, 313, py, py3} [testenv] deps =