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 7.2.0 on July 1, 2020 #4658

Closed
19 tasks done
radarhere opened this issue May 31, 2020 · 10 comments
Closed
19 tasks done

Release Pillow 7.2.0 on July 1, 2020 #4658

radarhere opened this issue May 31, 2020 · 10 comments
Assignees
Labels
Milestone

Comments

@radarhere
Copy link
Member

radarhere commented May 31, 2020

  • Open a release ticket e.g. Release Pillow 5.2.0 on July 1, 2018 #3154
  • Develop and prepare release in master branch.
  • Check GitHub Actions,
    Travis CI and
    AppVeyor to confirm
    passing tests in master branch.
  • 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-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 --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 .dev0 to version identifier in src/PIL/_version.py

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

Publicize Release

Documentation

@hugovk
Copy link
Member

hugovk commented Jun 29, 2020

@radarhere Are you okay to do this one?

@radarhere
Copy link
Member Author

Yep.

@hugovk
Copy link
Member

hugovk commented Jun 30, 2020

Are we doing the release already today (31 June) or tomorrow (1 July)? Fine either way for me :)

@radarhere
Copy link
Member Author

radarhere commented Jun 30, 2020

@hugovk I started, then stopped and wondered if I was doing it too early. However, in an hour and twenty minutes, it will be the 1st in UTC +14, so as long as I'm not finished before then...

@radarhere
Copy link
Member Author

Turns out there is a problem when pillow-wheels tries to upload PyPy wheels

@radarhere
Copy link
Member Author

Looks like wheelhouse-uploader just doesn't support PyPy - https://github.com/ogrisel/wheelhouse-uploader/blob/01ee128247a2284813c84ab9d8cd48105f2d9e06/wheelhouse_uploader/utils.py#L120-L131

I've uploaded the rest of the files to PyPI.

@radarhere
Copy link
Member Author

And done! https://twitter.com/PythonPillow/status/1277930228740849665

@hugovk
Copy link
Member

hugovk commented Jun 30, 2020

Looks like wheelhouse-uploader just doesn't support PyPy - ogrisel/wheelhouse-uploader:wheelhouse_uploader/utils.py@01ee128#L120-L131

I've uploaded the rest of the files to PyPI.

Good find, I've created ogrisel/wheelhouse-uploader#37 to help wheelhouse-uploader to support PyPy.

@hugovk
Copy link
Member

hugovk commented Jul 7, 2020

Thanks for the release!

@hugovk hugovk closed this as completed Jul 7, 2020
@hugovk hugovk unpinned this issue Jul 7, 2020
@hugovk
Copy link
Member

hugovk commented Aug 13, 2020

And the macOS and manylinux 7.2.0 wheels for PyPy are now available on PyPI!

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

2 participants