Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Pillow 6.2.2 on January 2, 2020 #4328

Closed
18 tasks done
radarhere opened this issue Jan 2, 2020 · 3 comments
Closed
18 tasks done

Release Pillow 6.2.2 on January 2, 2020 #4328

radarhere opened this issue Jan 2, 2020 · 3 comments
Labels

Comments

@radarhere
Copy link
Member

radarhere commented Jan 2, 2020

Purpose

This is a security release. This is the last release to support Python 2.7.

Point Release

Released as needed for security, installation or critical bug fixes.

  • Make necessary changes in master branch.

  • Update CHANGES.rst.

  • Check out release branch e.g.:

    git checkout -t remotes/origin/5.2.x
  • Cherry pick individual commits from master branch to release branch e.g. 5.2.x.

  • Check Travis CI to confirm passing tests in release branch e.g. 5.2.x.

  • In compliance with PEP 440, update version identifier in src/PIL/_version.py

  • Run pre-release check via make release-test.

  • Create tag for release e.g.:

    git tag 5.2.1
    git push --tags
  • Create source distributions e.g.:

    make sdist
  • Create binary distributions

Binary Distributions

Windows

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

Publicize Release

Documentation

@cgohlke
Copy link
Contributor

cgohlke commented Jan 2, 2020

I built Windows binaries for Pillow-6.2.2 and Pillow-7.0.0 in case you still need them.

@radarhere
Copy link
Member Author

radarhere commented Jan 2, 2020

Yes @cgohlke, thanks for being proactive! If you could just assure me that you've included the 'Release notes for 6.2.2' commits that I added after the version bump, then yes, please upload the files. Although then again, maybe that doesn't matter for the binaries, since they're documentation changes.

Yes, it doesn't matter, and I've just realised that you already linked to the files. Thanks.

@hugovk
Copy link
Member

hugovk commented Jan 2, 2020

Thank you very much @radarhere for making this double release, and @cgohlke for the binaries!

@hugovk hugovk closed this as completed Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants