diff --git a/pyproject.toml b/pyproject.toml index 8f9ad3d0..923d17f1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,6 +34,8 @@ Tracker = "https://github.com/ipython/traitlets/issues" test = [ "argcomplete>=3.0.3", "mypy>=1.7.0", + # see https://github.com/python/mypy/issues/20454 + "mypy>=1.7.0,<1.19 ; platform_python_implementation == 'PyPy'", "pre-commit", "pytest-mock", "pytest-mypy-testing",