From 89a1fcbacbccecdbcb6848fa1fad000db0ce0671 Mon Sep 17 00:00:00 2001 From: David Tucker Date: Sat, 13 Jun 2026 09:13:16 -0700 Subject: [PATCH 1/4] Make the project deps more readable --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a8cc91b..91672a0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,11 +27,11 @@ classifiers = [ "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Testing", ] -requires-python = ">=3.10" +requires-python = ">= 3.10" dependencies = [ - "filelock>=3.0", - "mypy>=1.0", - "pytest>=7.0", + "filelock >= 3.0", + "mypy >= 1.0", + "pytest >= 7.0", ] [project.entry-points.pytest11] From 6252cc270e5096f14360cffe3b3cbd6bb78e36f2 Mon Sep 17 00:00:00 2001 From: David Tucker Date: Sat, 13 Jun 2026 09:13:47 -0700 Subject: [PATCH 2/4] Update the build deps --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 91672a0..a6b4118 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools >= 61.0", "setuptools-scm >= 7.1"] +requires = ["setuptools >= 80", "setuptools-scm >= 8"] build-backend = "setuptools.build_meta" [project] From cafaddb567e374e5189c47b0a7235e8a11d3aba9 Mon Sep 17 00:00:00 2001 From: David Tucker Date: Sat, 13 Jun 2026 10:31:12 -0700 Subject: [PATCH 3/4] Remove an unnecessary test skipif --- tests/test_pytest_mypy.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/test_pytest_mypy.py b/tests/test_pytest_mypy.py index b621a81..bd86899 100644 --- a/tests/test_pytest_mypy.py +++ b/tests/test_pytest_mypy.py @@ -64,10 +64,6 @@ def pyfunc(x: int) -> int: PYTEST_VERSION < Version("7.4"), reason="https://github.com/pytest-dev/pytest/pull/10935", ) -@pytest.mark.skipif( - PYTHON_VERSION < Version("3.10"), - reason="PEP 597 was added in Python 3.10.", -) @pytest.mark.skipif( PYTHON_VERSION >= Version("3.12") and MYPY_VERSION < Version("1.5"), reason="https://github.com/python/mypy/pull/15558", From b7b549e142014fafabd8effec08d7c2fbe7fb743 Mon Sep 17 00:00:00 2001 From: David Tucker Date: Sat, 13 Jun 2026 10:31:50 -0700 Subject: [PATCH 4/4] Target black at Python 3.10 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index ce52359..e264d78 100644 --- a/tox.ini +++ b/tox.ini @@ -66,7 +66,7 @@ deps = mypy ~= 2.1.0 pytest-xdist >= 3.6.0 # needed for type-checking commands = - black --check --target-version py38 src tests + black --check --target-version py310 src tests flake8 src tests mypy --strict src bandit --recursive src