From 2b9c094b7d673828d8d634f521b06a1231559ecf Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Thu, 28 May 2026 10:28:28 +0200 Subject: [PATCH 1/3] Add 3.15 --- pyproject.toml | 1 + tox.ini | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b886fbf2a..cf008ade4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,6 +21,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Typing :: Typed", diff --git a/tox.ini b/tox.ini index abf3c2fc6..a8401e0d3 100644 --- a/tox.ini +++ b/tox.ini @@ -4,8 +4,8 @@ min_version = 4.25.0 env_list = pre-commit, - py3{9-14}-tests, - py3{10-14}-mypy, + py3{9-15}-tests, + py3{10-14}-mypy, # some deps lack 3.15 support pypy3-tests, # Mypy needs to run within the respective Python version typing-{pyright,ty,pyrefly} From a3bf6c9848b6f3f609ee978ed16493a208d93316 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Thu, 28 May 2026 10:30:16 +0200 Subject: [PATCH 2/3] Add news fragment --- changelog.d/1564.change.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/1564.change.md diff --git a/changelog.d/1564.change.md b/changelog.d/1564.change.md new file mode 100644 index 000000000..83f6eecb5 --- /dev/null +++ b/changelog.d/1564.change.md @@ -0,0 +1 @@ +Added support for Python 3.15. From 9ab23a1c646095d35835d982cc84c446e9c58915 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Thu, 28 May 2026 10:32:47 +0200 Subject: [PATCH 3/3] ci: exclude 3.15 from Mypy --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 614be256e..082188cb1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,7 +70,7 @@ jobs: run: | DO_MYPY=1 - if [[ "$V" == "3.9" ]]; then + if [[ "$V" == "3.9" || "$V" == "3.15" ]]; then DO_MYPY=0 fi