From d63c26aa2f293c16526de94f5c180fbd51e3933c Mon Sep 17 00:00:00 2001 From: Samuel Searles-Bryant Date: Wed, 1 Oct 2025 22:45:49 +0100 Subject: [PATCH 1/2] Only include test *code* dependencies in mypy group This ensures we don't also install tools like coverage and the linting tools that are not necessary for type-checking. --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6dc834b..1f8f32b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,7 +59,8 @@ test = [ ] mypy = [ "mypy", - {include-group = "test"}, + "pytest", + "pytest-subprocess", ] From 1e07fe0e4a07ca2875efd749c1bf075994f78644 Mon Sep 17 00:00:00 2001 From: Samuel Searles-Bryant Date: Wed, 1 Oct 2025 22:38:53 +0100 Subject: [PATCH 2/2] Test on Python3.14 --- .github/workflows/tests.yaml | 1 + pyproject.toml | 1 + tox.ini | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 44f88bf..03fc23a 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -24,6 +24,7 @@ jobs: 3.11 3.12 3.13 + 3.14 allow-prereleases: true - run: python -m pip install tox - run: tox run-parallel --parallel-no-spinner diff --git a/pyproject.toml b/pyproject.toml index 1f8f32b..77b0aa5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,6 +16,7 @@ classifiers = [ # pragma: alphabetize "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] requires-python = ">=3.9" diff --git a/tox.ini b/tox.ini index dec3a4b..cca02bf 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py3{9,10,11,12,13},coverage,mypy +envlist = py3{9,10,11,12,13,14},coverage,mypy [testenv] # Install wheels instead of source distributions for faster execution. @@ -18,7 +18,7 @@ commands = [testenv:coverage] skip_install = true -depends = py3{9,10,11,12,13} +depends = py3{9,10,11,12,13,14} commands = coverage combine coverage report