Skip to content

Commit 87f48b3

Browse files
authored
Version 4.2.0 release (django-stubs, django-stubs-ext) (#1458)
1 parent c659fc2 commit 87f48b3

File tree

3 files changed

+11
-22
lines changed

3 files changed

+11
-22
lines changed

README.md

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -49,25 +49,12 @@ This fully working [typed boilerplate](https://github.com/wemake-services/wemake
4949

5050
We rely on different `django` and `mypy` versions:
5151

52-
| django-stubs | mypy version | django version | python version
53-
|--------------| ---- | ---- | ---- |
54-
| 1.16.0 | 1.1.x | 3.2.x or 4.0.x or 4.1.x | ^3.7
55-
| 1.15.0 | 1.0.x | 3.2.x or 4.0.x or 4.1.x | ^3.7
56-
| 1.14.0 | 0.990+ | 3.2.x or 4.0.x or 4.1.x | ^3.7
57-
| 1.13.0 | 0.980+ | 3.2.x or 4.0.x or 4.1.x | ^3.7
58-
| 1.12.0 | 0.931+ | 3.2.x or 4.0.x | ^3.7
59-
| 1.11.0 | 0.931+ | 3.2.x | ^3.7
60-
| 1.10.0 | 0.931+ | 3.2.x | ^3.7
61-
| 1.9.0 | 0.910 | 3.2.x | ^3.6
62-
| 1.8.0 | 0.812 | 3.1.x | ^3.6
63-
| 1.7.0 | 0.790 | 2.2.x \|\| 3.x | ^3.6
64-
| 1.6.0 | 0.780 | 2.2.x \|\| 3.x | ^3.6
65-
| 1.5.0 | 0.770 | 2.2.x \|\| 3.x | ^3.6
66-
| 1.4.0 | 0.760 | 2.2.x \|\| 3.x | ^3.6
67-
| 1.3.0 | 0.750 | 2.2.x \|\| 3.x | ^3.6
68-
| 1.2.0 | 0.730 | 2.2.x | ^3.6
69-
| 1.1.0 | 0.720 | 2.2.x | ^3.6
70-
| 0.12.x | old semantic analyzer (<0.711), dmypy support | 2.1.x | ^3.6
52+
| django-stubs | Mypy version | Django version | Django partial support | Python version |
53+
|--------------|--------------|----------------|------------------------|----------------|
54+
| 4.2.0 | 1.2.x | 4.2 | 4.1, 4.0, 3.2 | 3.7 - 3.11 |
55+
| 1.16.0 | 1.1.x | 4.1 | 4.0, 3.2 | 3.7 - 3.11 |
56+
| 1.15.0 | 1.0.x | 4.1 | 4.0, 3.2 | 3.7 - 3.11 |
57+
| 1.14.0 | 0.990+ | 4.1 | 4.0, 3.2 | 3.7 - 3.11 |
7158

7259
## Features
7360

django_stubs_ext/setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@
1010
"typing-extensions",
1111
]
1212

13+
# NB! For clarity, keep version major.minor.patch in sync with django-stubs.
14+
# It's fine to skip django-stubs-ext releases, but when doing a release, update this to newest django-stubs version.
1315
setup(
1416
name="django-stubs-ext",
15-
version="0.8.0",
17+
version="4.2.0",
1618
description="Monkey-patching and extensions for django-stubs",
1719
long_description=readme,
1820
long_description_content_type="text/markdown",

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def find_stub_files(name: str) -> List[str]:
2222
dependencies = [
2323
"mypy>=0.980",
2424
"django",
25-
"django-stubs-ext>=0.8.0",
25+
"django-stubs-ext>=4.2.0",
2626
"tomli; python_version < '3.11'",
2727
# Types:
2828
"typing-extensions",
@@ -36,7 +36,7 @@ def find_stub_files(name: str) -> List[str]:
3636

3737
setup(
3838
name="django-stubs",
39-
version="1.16.0",
39+
version="4.2.0",
4040
description="Mypy stubs for Django",
4141
long_description=readme,
4242
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)