From d205d0ce03e26d922735c418f0d721fe5493f56d Mon Sep 17 00:00:00 2001 From: Pavol Misik Date: Sat, 14 Sep 2024 16:44:40 +0200 Subject: [PATCH] Add Python 3.13 support PR #391 --- .github/workflows/ci.yaml | 5 +++++ changelog.d/391.feature.rst | 1 + setup.py | 1 + tox.ini | 4 ++-- 4 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 changelog.d/391.feature.rst diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 05079d98..0cf90fe7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -81,6 +81,10 @@ jobs: twisted-version: "latest" experimental: false + - python-version: "3.13-dev" + twisted-version: "latest" + experimental: true + - python-version: "pypy-3.10" twisted-version: "latest" experimental: false @@ -116,6 +120,7 @@ jobs: "3.10": "py310", "3.11": "py311", "3.12": "py312", + "3.13-dev": "py313", "pypy-3.8": "pypy3", "pypy-3.9": "pypy3", "pypy-3.10": "pypy3", diff --git a/changelog.d/391.feature.rst b/changelog.d/391.feature.rst new file mode 100644 index 00000000..7ad97ba3 --- /dev/null +++ b/changelog.d/391.feature.rst @@ -0,0 +1 @@ +Python 3.13 is now supported. \ No newline at end of file diff --git a/setup.py b/setup.py index 36046d44..24ba08f6 100644 --- a/setup.py +++ b/setup.py @@ -12,6 +12,7 @@ "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", ] diff --git a/tox.ini b/tox.ini index c43dcf0b..4c433d7f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,8 @@ [tox] envlist = py38-twisted_lowest, - {pypy3,py38,py39,py310,py311,py312}-twisted_latest, - {pypy3,py38,py39,py310,py311,py312}-twisted_trunk, + {pypy3,py38,py39,py310,py311,py312,py313}-twisted_latest, + {pypy3,py38,py39,py310,py311,py312,py313}-twisted_trunk, twine, check-manifest, flake8, docs, coverage-report isolated_build = true