From a9e6f679b2c0ae381b1855257af23955999575d4 Mon Sep 17 00:00:00 2001 From: Marti Raudsepp Date: Mon, 23 Oct 2023 22:45:33 +0300 Subject: [PATCH] Version 4.2.6 release (django-stubs only) (#1794) --- .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",