From f90a8dc40b60bf43510b8611a07d8cc570544ffe Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Thu, 23 May 2024 17:22:42 -0700 Subject: [PATCH] Prepare release 4.12.0 (#408) --- CHANGELOG.md | 5 ++++- CONTRIBUTING.md | 20 +++----------------- pyproject.toml | 2 +- 3 files changed, 8 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f315d1ff..8c9cd298 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ -# Unreleased +# Release 4.12.0 (May 23, 2024) + +This release is mostly the same as 4.12.0rc1 but fixes one more +longstanding bug. - Fix incorrect behaviour of `typing_extensions.ParamSpec` on Python 3.8 and 3.9 that meant that diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a118a40e..1b030d56 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -61,24 +61,10 @@ may have installed. - Update the version number in `typing_extensions/pyproject.toml` and in `typing_extensions/CHANGELOG.md`. -- Make sure your environment is up to date - - - `git checkout main` - - `git pull` - - `python -m pip install --upgrade build twine` - -- Build the source and wheel distributions: - - - `rm -rf dist/` - - `python -m build .` - -- Install the built distributions locally and test (if you were using `tox`, you already - tested the source distribution). - -- Run `twine upload dist/*`. Remember to use `__token__` as the username - and pass your API token as the password. - - Create a new GitHub release at https://github.com/python/typing_extensions/releases/new. Details: - The tag should be just the version number, e.g. `4.1.1`. - Copy the release notes from `CHANGELOG.md`. + +- Release automation will finish the release. You'll have to manually + approve the last step before upload. diff --git a/pyproject.toml b/pyproject.toml index 3b9ae5a8..c9762f5f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi" # Project metadata [project] name = "typing_extensions" -version = "4.12.0rc1" +version = "4.12.0" description = "Backported and Experimental Type Hints for Python 3.8+" readme = "README.md" requires-python = ">=3.8"