-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Description
A major bump because the next release will drop EOL Python 3.5 (#4746). Will also be the first version to support Python 3.9.
Needs release notes:
- Implemented another ellipse drawing algorithm #4523
- Add support for CBDT and COLR fonts #4955
- Add getlength and getbbox functions for TrueType fonts #4959
- Drop support for PyPy3 < 7.2.0 #4964
Release Checklist
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
masterbranch. - Check GitHub Actions,
Travis CI and
AppVeyor to confirm
passing tests inmasterbranch. - Check that all of the wheel builds Pillow Wheel Builder pass the tests in Travis CI.
- In compliance with PEP 440, update version identifier in
src/PIL/_version.py - Update
CHANGES.rst. - Run pre-release check via
make release-testin a freshly cloned repo. - Create branch and tag for release e.g.:
git branch 5.2.x git tag 5.2.0 git push --all git push --tags
- Create source distributions e.g.:
make sdist
- Create binary distributions
- Upload all binaries and source distributions e.g.
twine upload dist/Pillow-5.2.0* - Create a new release on GitHub
- In compliance with PEP 440, increment and append
.dev0to version identifier insrc/PIL/_version.py
Binary Distributions
Windows
- Contact
@cgohlkefor Windows binaries via release ticket e.g. Release 2.9.0 on July 1, 2015 #1174. - Download and extract tarball from
@cgohlkeandtwine upload *.
Mac and Linux
- Use the Pillow Wheel Builder:
git clone https://github.com/python-pillow/pillow-wheels cd pillow-wheels ./update-pillow-tag.sh [[release tag]] - Download wheels from the Pillow Wheel Builder release.
Publicize Release
- Announce release availability via Twitter 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]]
ChihweiLHBird, null8626 and grant-glutgut