From 87f48b3ae62cd983c72f2e9639e80a9a7c6e487f Mon Sep 17 00:00:00 2001 From: Marti Raudsepp Date: Thu, 27 Apr 2023 15:44:18 +0300 Subject: [PATCH] Version 4.2.0 release (django-stubs, django-stubs-ext) (#1458) --- README.md | 25 ++++++------------------- django_stubs_ext/setup.py | 4 +++- setup.py | 4 ++-- 3 files changed, 11 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 39e98b84b..d48b4faf3 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/django_stubs_ext/setup.py b/django_stubs_ext/setup.py index 07a1aabca..b2e037e50 100644 --- a/django_stubs_ext/setup.py +++ b/django_stubs_ext/setup.py @@ -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", diff --git a/setup.py b/setup.py index ba3f7b7b1..66e1a8404 100644 --- a/setup.py +++ b/setup.py @@ -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", @@ -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",