Skip to content

Commit f007b6b

Browse files
authored
Update compatible-mypy to 1.4.x (#1588)
* Update compatible-mypy to 1.4.x * Updated CI to mypy 1.4.1 * Add code comment & use simpler version dependency * Added README table line for next relase
1 parent b4126fa commit f007b6b

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ We rely on different `django` and `mypy` versions:
4949

5050
| django-stubs | Mypy version | Django version | Django partial support | Python version |
5151
|----------------|--------------|----------------|------------------------|----------------|
52+
| (next release) | 1.4.x | 4.2 | 4.1, 3.2 | 3.8 - 3.11 |
5253
| 4.2.1 | 1.3.x | 4.2 | 4.1, 3.2 | 3.8 - 3.11 |
5354
| 4.2.0 | 1.2.x | 4.2 | 4.1, 4.0, 3.2 | 3.7 - 3.11 |
5455
| 1.16.0 | 1.1.x | 4.1 | 4.0, 3.2 | 3.7 - 3.11 |

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ Django==4.2.2
88
-e .[compatible-mypy]
99

1010
# Overrides:
11-
mypy==1.4.0
11+
mypy==1.4.1

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ def find_stub_files(name: str) -> List[str]:
3131
"types-PyYAML",
3232
]
3333

34+
# Keep compatible-mypy major.minor version pinned to what we use in CI (requirements.txt)
3435
extras_require = {
35-
"compatible-mypy": ["mypy>=1.3.0,<1.5"],
36+
"compatible-mypy": ["mypy==1.4.*"],
3637
}
3738

3839
setup(

0 commit comments

Comments
 (0)