Skip to content

Commit

Permalink
Version 4.2.0 release (django-stubs, django-stubs-ext) (#1458)
Browse files Browse the repository at this point in the history
  • Loading branch information
intgr committed Apr 27, 2023
1 parent c659fc2 commit 87f48b3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 22 deletions.
25 changes: 6 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,25 +49,12 @@ This fully working [typed boilerplate](https://github.com/wemake-services/wemake

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

| django-stubs | mypy version | django version | python version
|--------------| ---- | ---- | ---- |
| 1.16.0 | 1.1.x | 3.2.x or 4.0.x or 4.1.x | ^3.7
| 1.15.0 | 1.0.x | 3.2.x or 4.0.x or 4.1.x | ^3.7
| 1.14.0 | 0.990+ | 3.2.x or 4.0.x or 4.1.x | ^3.7
| 1.13.0 | 0.980+ | 3.2.x or 4.0.x or 4.1.x | ^3.7
| 1.12.0 | 0.931+ | 3.2.x or 4.0.x | ^3.7
| 1.11.0 | 0.931+ | 3.2.x | ^3.7
| 1.10.0 | 0.931+ | 3.2.x | ^3.7
| 1.9.0 | 0.910 | 3.2.x | ^3.6
| 1.8.0 | 0.812 | 3.1.x | ^3.6
| 1.7.0 | 0.790 | 2.2.x \|\| 3.x | ^3.6
| 1.6.0 | 0.780 | 2.2.x \|\| 3.x | ^3.6
| 1.5.0 | 0.770 | 2.2.x \|\| 3.x | ^3.6
| 1.4.0 | 0.760 | 2.2.x \|\| 3.x | ^3.6
| 1.3.0 | 0.750 | 2.2.x \|\| 3.x | ^3.6
| 1.2.0 | 0.730 | 2.2.x | ^3.6
| 1.1.0 | 0.720 | 2.2.x | ^3.6
| 0.12.x | old semantic analyzer (<0.711), dmypy support | 2.1.x | ^3.6
| django-stubs | Mypy version | Django version | Django partial support | Python version |
|--------------|--------------|----------------|------------------------|----------------|
| 4.2.0 | 1.2.x | 4.2 | 4.1, 4.0, 3.2 | 3.7 - 3.11 |
| 1.16.0 | 1.1.x | 4.1 | 4.0, 3.2 | 3.7 - 3.11 |
| 1.15.0 | 1.0.x | 4.1 | 4.0, 3.2 | 3.7 - 3.11 |
| 1.14.0 | 0.990+ | 4.1 | 4.0, 3.2 | 3.7 - 3.11 |

## Features

Expand Down
4 changes: 3 additions & 1 deletion django_stubs_ext/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
"typing-extensions",
]

# NB! For clarity, keep version major.minor.patch in sync with django-stubs.
# It's fine to skip django-stubs-ext releases, but when doing a release, update this to newest django-stubs version.
setup(
name="django-stubs-ext",
version="0.8.0",
version="4.2.0",
description="Monkey-patching and extensions for django-stubs",
long_description=readme,
long_description_content_type="text/markdown",
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def find_stub_files(name: str) -> List[str]:
dependencies = [
"mypy>=0.980",
"django",
"django-stubs-ext>=0.8.0",
"django-stubs-ext>=4.2.0",
"tomli; python_version < '3.11'",
# Types:
"typing-extensions",
Expand All @@ -36,7 +36,7 @@ def find_stub_files(name: str) -> List[str]:

setup(
name="django-stubs",
version="1.16.0",
version="4.2.0",
description="Mypy stubs for Django",
long_description=readme,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 87f48b3

Please sign in to comment.