-
-
Notifications
You must be signed in to change notification settings - Fork 36
Home
Valentin Stanciu edited this page Apr 22, 2025
·
1 revision
This is the wiki for mypy_extensions
.
The releases can be found on PyPi project mypy-extensions
: https://pypi.org/project/mypy-extensions/
- Create GitHub issue announcing the new release.
- Cut release branch
release-1.X.Y
from master (see pyproject.toml for next version) - On master, increment the version in pyproject.toml, keep
-dev
at the end. - On the release branch, remove
-dev
from the version in pyproject.toml - Tag the release with
git tag x.y.z
- Make sure you can build:
python3 -m pip install --upgrade build
- Build:
python3 -m build
. (output is in folderdist
) - Make sure twine is installed:
python3 -m pip install --upgrade twine==6.0.1
. (Note: twine version 6.1.0 has a bug. Once a newer version is released, remove the 6.0.1 version pin) - Double check that actions finished successfully for the new tag.
- Upload to pypi:
python3 -m twine upload dist/*