From 04e8ebfbcd2154f86a0a53ec219c9ede1cbfbf18 Mon Sep 17 00:00:00 2001 From: Petter Friberg Date: Sat, 27 Apr 2024 14:50:05 +0200 Subject: [PATCH 1/2] Version 5.0.4 release (django-stubs, django-stubs-ext) --- README.md | 2 +- ext/setup.py | 2 +- setup.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2f34a6901..dec3cd45c 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ We rely on different `django` and `mypy` versions: | django-stubs | Mypy version | Django version | Django partial support | Python version | |----------------|--------------|----------------|------------------------|----------------| -| (next release) | 1.10.x | 5.0 | 4.2, 4.1 | 3.8 - 3.12 | +| 5.0.4 | 1.10.x | 5.0 | 4.2, 4.1 | 3.8 - 3.12 | | 4.2.7 | 1.7.x | 4.2 | 4.1, 3.2 | 3.8 - 3.12 | | 4.2.6 | 1.6.x | 4.2 | 4.1, 3.2 | 3.8 - 3.12 | | 4.2.5 | 1.6.x | 4.2 | 4.1, 3.2 | 3.8 - 3.12 | diff --git a/ext/setup.py b/ext/setup.py index 5bd484826..79f929765 100755 --- a/ext/setup.py +++ b/ext/setup.py @@ -13,7 +13,7 @@ # 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="5.0.0.dev1", + version="5.0.4", 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 c877d5ec9..577ea5b2e 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ def find_stub_files(name: str) -> List[str]: dependencies = [ "django", "asgiref", - "django-stubs-ext>=5.0.0.dev1", + "django-stubs-ext>=5.0.4", "tomli; python_version < '3.11'", # Types: "typing-extensions", @@ -38,7 +38,7 @@ def find_stub_files(name: str) -> List[str]: setup( name="django-stubs", - version="5.0.0.dev1", + version="5.0.4", description="Mypy stubs for Django", long_description=readme, long_description_content_type="text/markdown", From 2ce65e86bd5539def3a42b9d6b608d2068392837 Mon Sep 17 00:00:00 2001 From: Petter Friberg Date: Mon, 29 Apr 2024 19:47:59 +0200 Subject: [PATCH 2/2] fixup! Version 5.0.4 release (django-stubs, django-stubs-ext) --- README.md | 2 +- ext/setup.py | 2 +- setup.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dec3cd45c..e99702657 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ We rely on different `django` and `mypy` versions: | django-stubs | Mypy version | Django version | Django partial support | Python version | |----------------|--------------|----------------|------------------------|----------------| -| 5.0.4 | 1.10.x | 5.0 | 4.2, 4.1 | 3.8 - 3.12 | +| 5.0.0 | 1.10.x | 5.0 | 4.2, 4.1 | 3.8 - 3.12 | | 4.2.7 | 1.7.x | 4.2 | 4.1, 3.2 | 3.8 - 3.12 | | 4.2.6 | 1.6.x | 4.2 | 4.1, 3.2 | 3.8 - 3.12 | | 4.2.5 | 1.6.x | 4.2 | 4.1, 3.2 | 3.8 - 3.12 | diff --git a/ext/setup.py b/ext/setup.py index 79f929765..ab1e82c23 100755 --- a/ext/setup.py +++ b/ext/setup.py @@ -13,7 +13,7 @@ # 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="5.0.4", + version="5.0.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 577ea5b2e..94355f688 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ def find_stub_files(name: str) -> List[str]: dependencies = [ "django", "asgiref", - "django-stubs-ext>=5.0.4", + "django-stubs-ext>=5.0.0", "tomli; python_version < '3.11'", # Types: "typing-extensions", @@ -38,7 +38,7 @@ def find_stub_files(name: str) -> List[str]: setup( name="django-stubs", - version="5.0.4", + version="5.0.0", description="Mypy stubs for Django", long_description=readme, long_description_content_type="text/markdown",