From 485bf3aa8061c5a97e6a2969e9266856ea8c74e2 Mon Sep 17 00:00:00 2001 From: Johan Mabille Date: Tue, 24 Feb 2026 17:57:26 +0100 Subject: [PATCH] Added upper bound to mypy on pypy --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) 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",