diff --git a/pyproject.toml b/pyproject.toml index 0b039be2f..b92ccbda6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,7 @@ types = [ # The `<1.12` upper bound on the 3.9 entry is REQUIRED — without it renovate # bumps the pin past 1.12 (e.g. to 2.x) and produces an unsatisfiable lock. Keep it. "mypy>=1.20.1; python_version >= '3.10'", - "mypy>=1.11.2,<1.12; python_version < '3.10'", + "mypy>=2.3,<2.4; python_version < '3.10'", ] tests = [ # pytest 9 requires Python 3.10+; on 3.9 we stay on the last 8.x line.