-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Description
Release notes needed
- Added an
image.entropy()method (second revision) #3608 - Improve encoding of TIFF tags #3861
- Tiff: Add support for JPEG quality #3886
Release checklist
- 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
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
- 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
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
aclark4life