-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
Main Release
Released quarterly on January 2nd, April 1st, July 1st and October 15th.
- Open a release ticket e.g. Release Pillow 5.2.0 on July 1, 2018 #3154
- Develop and prepare release in
main
branch. - Check GitHub Actions and AppVeyor to confirm passing tests in
main
branch. - Check that all of the wheel builds pass the tests in the GitHub Actions "Wheels" workflow and Travis CI jobs by manually triggering them.
- In compliance with PEP 440, update version identifier in
src/PIL/_version.py
- Update
CHANGES.rst
. - Run pre-release check via
make release-test
in a freshly cloned repo. - Create branch and tag for release e.g.:
git branch 5.2.x git tag 5.2.0 git push --tags
- Create and upload all source and binary distributions
- Publish the release on GitHub
- In compliance with PEP 440,
increment and append.dev0
to version identifier insrc/PIL/_version.py
and then:git push --all
Source and Binary Distributions
- Check the GitHub Actions "Wheels" workflow has passed, including the "Upload release to PyPI" job. This will have been triggered by the new tag.
- Download the Linux aarch64 wheels created by Travis CI from GitHub releases and copy into
dist
. Check and upload them e.g.:python3 -m twine check --strict dist/* python3 -m twine upload dist/Pillow-5.2.0*
Publicize Release
- Announce release availability via Twitter and Mastodon e.g. https://twitter.com/PythonPillow/status/1013789184354603010
Documentation
- Make sure the default version for Read the Docs is up-to-date with the release changes
Docker Images
- Update Pillow in the Docker Images repository
git clone https://github.com/python-pillow/docker-images cd docker-images ./update-pillow-tag.sh [[release tag]]