diff --git a/requirements/tools.txt b/requirements/tools.txt index 0a646dc12..dd09cd46f 100644 --- a/requirements/tools.txt +++ b/requirements/tools.txt @@ -1,4 +1,6 @@ -mypy<=1.18.2 +# We only need to install mypy with CPython runtimes +# Typechecking using the PyPy runtime is not planned +mypy<=1.19.0; platform_python_implementation == "CPython" # while flake8 5.x have issues with Python 3.12, flake8 6.x requires Python >= 3.8.1, # so 5.x should be kept in order to stay compatible with Python 3.7/3.8 flake8>=5.0.4,<8