From 473f8234f974c512aedef9f9fb1743778ead5c28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tin=20Tvrtkovi=C4=87?= Date: Mon, 10 Mar 2025 15:37:55 +0100 Subject: [PATCH 1/4] Add 3.14 to Trove classifiers --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 024a16023..a70a4231c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,6 +21,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Typing :: Typed", From 35bb48b791642d29e7f0ef512bf2d6cb374d318c Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Sun, 11 May 2025 09:29:02 +0200 Subject: [PATCH 2/4] Skip pytest-mypy-plugins on 3.14 Until it works. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a70a4231c..521461d2a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ dynamic = ["version", "readme"] [project.optional-dependencies] tests-mypy = [ - 'pytest-mypy-plugins; platform_python_implementation == "CPython" and python_version >= "3.10"', + 'pytest-mypy-plugins; platform_python_implementation == "CPython" and python_version >= "3.10" and python_version < "3.14"', # Since the mypy error messages keep changing, we have to keep updating this # pin. 'mypy>=1.11.1; platform_python_implementation == "CPython" and python_version >= "3.10"', From 7b89930c7e7411470c55d3ddc4c614ccd84edc70 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Sun, 11 May 2025 09:29:10 +0200 Subject: [PATCH 3/4] Run tests on 3.14 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 585c3c7c9..4839f30aa 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ min_version = 4 env_list = pre-commit, - py3{8,9,10,11,12,13}-tests, + py3{8,9,10,11,12,13,14}-tests, py3{10,11,12,13}-mypy, pypy3-tests, pyright, From 6c65d6338d3748939801fae4439e84870b98a8bf Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Sun, 11 May 2025 09:30:53 +0200 Subject: [PATCH 4/4] Add explanations --- pyproject.toml | 1 + tox.ini | 1 + 2 files changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 521461d2a..5212fcc3c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,6 +31,7 @@ dynamic = ["version", "readme"] [project.optional-dependencies] tests-mypy = [ + # A transitive dependency of pytest-mypy-plugins doesn't build on 3.14 yet. 'pytest-mypy-plugins; platform_python_implementation == "CPython" and python_version >= "3.10" and python_version < "3.14"', # Since the mypy error messages keep changing, we have to keep updating this # pin. diff --git a/tox.ini b/tox.ini index 4839f30aa..1ca8e2f24 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,6 @@ [tox] min_version = 4 +# Mypy doesn't run on 3.14 yet. env_list = pre-commit, py3{8,9,10,11,12,13,14}-tests,