diff --git a/requirements.txt b/requirements.txt index 485644f5f..d6bb5025c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,3 +9,4 @@ pytest-mypy-plugins==1.9.3 psycopg2-binary -e ./django_stubs_ext -e . +mypy==0.931 diff --git a/setup.py b/setup.py index 91a770c8b..75fd48357 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ def find_stub_files(name: str) -> List[str]: readme = f.read() dependencies = [ - "mypy>=0.931", + "mypy>=0.930,<0.940", "django", "django-stubs-ext>=0.3.0", "tomli",