Problem
The template declares requires-python = ">=3.9", configures python_version = "3.9", and currently installs mypy>=1.13.0 without an upper bound.
Fresh environments now resolve mypy 2.x. Running mypy src with mypy 2.1 through 2.3 emits:
pyproject.toml: [mypy]: python_version: Python 3.9 is not supported (must be 3.10 or higher)
This makes the CI type-check step noisy and no longer validates the package minimum version as intended.
Reproduction
pip install -e ".[dev]"
mypy src
Suggested fix
Until the template drops Python 3.9, constrain the development dependency to mypy>=1.13.0,<2.0. I verified mypy 1.19.1 checks the Python 3.9 target without the warning.
Problem
The template declares
requires-python = ">=3.9", configurespython_version = "3.9", and currently installsmypy>=1.13.0without an upper bound.Fresh environments now resolve mypy 2.x. Running
mypy srcwith mypy 2.1 through 2.3 emits:This makes the CI type-check step noisy and no longer validates the package minimum version as intended.
Reproduction
pip install -e ".[dev]" mypy srcSuggested fix
Until the template drops Python 3.9, constrain the development dependency to
mypy>=1.13.0,<2.0. I verified mypy 1.19.1 checks the Python 3.9 target without the warning.