diff --git a/setup.py b/setup.py index 794841b24..3a9b1a62e 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ def find_stub_files(name: str) -> List[str]: # Keep compatible-mypy major.minor version pinned to what latest django-stubs release uses. extras_require = { - "compatible-mypy": ["mypy~=1.12.0", "django-stubs[compatible-mypy]"], + "compatible-mypy": ["mypy>=1.12,<1.14", "django-stubs[compatible-mypy]"], "coreapi": ["coreapi>=2.0.0"], "markdown": ["types-Markdown>=0.1.5"], }