diff --git a/requirements.txt b/requirements.txt index 555d91ec0..b8692efd9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,6 @@ pytest==7.1.2 pytest-mypy-plugins==1.10.1 djangorestframework==3.13.1 types-pytz==2022.1.2 +django-stubs==1.12.0 +django-stubs-ext==0.5.0 -e .[compatible-mypy,coreapi,markdown] diff --git a/setup.py b/setup.py index 68ee44a24..a2c54f735 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ def find_stub_files(name): dependencies = [ "mypy>=0.950", - "django-stubs>=1.13.0", + "django-stubs>=1.12.0", "typing-extensions>=3.10.0", "requests>=2.0.0", "types-requests>=0.1.12", @@ -28,7 +28,7 @@ def find_stub_files(name): ] extras_require = { - "compatible-mypy": ["mypy>=0.980,<0.990"], + "compatible-mypy": ["mypy>=0.970,<0.980"], "coreapi": ["coreapi>=2.0.0"], "markdown": ["types-Markdown>=0.1.5"], }