From 6464acb608cf0cf2bf0a24d26ad0d1e7a1417dbf Mon Sep 17 00:00:00 2001 From: Chris Rose Date: Mon, 14 Mar 2022 08:22:55 -0700 Subject: [PATCH] Block mypy 0.940 until python/mypy#12339 is resolved --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index b68895b..3a83b7b 100755 --- a/setup.py +++ b/setup.py @@ -39,6 +39,8 @@ def read(fname): "coverage[toml]", # No point on Pypy thanks to https://github.com/python/typed_ast/issues/111 "pytest-mypy-plugins; platform_python_implementation != 'PyPy'", + # Can't use 0.940: https://github.com/python/mypy/issues/12339 + "mypy!=0.940; platform_python_implementation != 'PyPy'", "types-mock", ] TESTS_NUMPY = ["numpy"]