Skip to content

Commit

Permalink
Prepare release 4.12.0 (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra authored May 24, 2024
1 parent 118e1a6 commit f90a8dc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 19 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
20 changes: 3 additions & 17 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f90a8dc

Please sign in to comment.