diff --git a/requirements.txt b/requirements.txt index 9e53c0094..b64a2b08d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,5 +14,5 @@ Django==5.1.2; python_version >= '3.10' -e .[redis,compatible-mypy,oracle] # Overrides: -mypy==1.11.2 +mypy==1.12.0 pyright==1.1.384 diff --git a/setup.py b/setup.py index fe124aef0..2c486af97 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ def find_stub_files(name: str) -> List[str]: # Keep compatible-mypy major.minor version pinned to what we use in CI (requirements.txt) extras_require = { - "compatible-mypy": ["mypy~=1.11.0"], + "compatible-mypy": ["mypy>=1.11,<1.13"], "redis": ["redis"], "oracle": ["oracledb"], }