From 9f7e25e92b716c06ee53f6eb61fbeffce9dce29c Mon Sep 17 00:00:00 2001 From: Marti Raudsepp Date: Mon, 23 Oct 2023 20:50:47 +0300 Subject: [PATCH] Version 4.2.6 release (django-stubs only) --- .gitignore | 1 + README.md | 1 + scripts/release.sh | 4 ++-- setup.py | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index cc1ac47cb..1141379bd 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ out/ pip-wheel-metadata/ stubgen/ build/ +dist/ diff --git a/README.md b/README.md index a578e8267..c7cd38c1d 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,7 @@ We rely on different `django` and `mypy` versions: | django-stubs | Mypy version | Django version | Django partial support | Python version | |----------------|--------------|----------------|------------------------|----------------| +| 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 | | 4.2.4 | 1.5.x | 4.2 | 4.1, 3.2 | 3.8 - 3.11 | | 4.2.3 | 1.4.x | 4.2 | 4.1, 3.2 | 3.8 - 3.11 | diff --git a/scripts/release.sh b/scripts/release.sh index 71281961a..de8ab2da6 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -5,9 +5,9 @@ if [[ -z $(git status -s) ]] then if [[ "$VIRTUAL_ENV" != "" ]] then - pip install --upgrade setuptools wheel twine + pip install --upgrade setuptools wheel twine build rm -rf dist/ build/ - python setup.py sdist bdist_wheel + python -m build twine upload dist/* rm -rf dist/ build/ else diff --git a/setup.py b/setup.py index 5973d2e63..18bb048eb 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ def find_stub_files(name: str) -> List[str]: setup( name="django-stubs", - version="4.2.5", + version="4.2.6", description="Mypy stubs for Django", long_description=readme, long_description_content_type="text/markdown",