-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Description
Needs release notes:
- Added three new channel operations #4230
- Support for different charset encodings in PcfFontFile #3907 <- PR Add release notes for #3907 PcfFontFile charset encodings #4502
- ImageGrab.grab() for Linux with XCB #4260
- Add APNG support #4243
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 Travis CI and AppVeyor CI to confirm passing tests in
masterbranch. - 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 distributions from the Pillow Wheel Builder container.
wget -m -A 'Pillow-<VERSION>-*' \ http://a365fff413fe338398b6-1c8a9b3114517dc5fe17b7c3f8c63a43.r19.cf2.rackcdn.com
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