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 8.1.0 on January 2, 2021 #4997

Closed
21 tasks done
hugovk opened this issue Oct 20, 2020 · 13 comments
Closed
21 tasks done

Release Pillow 8.1.0 on January 2, 2021 #4997

hugovk opened this issue Oct 20, 2020 · 13 comments
Assignees
Labels
Milestone

Comments

@hugovk
Copy link
Member

hugovk commented Oct 20, 2020

Add release notes:

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 master branch.
  • Check GitHub Actions 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 and GitHub Actions.
  • 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 and check source distribution:
    make sdist
    twine check dist/*
  • Create binary distributions
  • Check and upload all binaries and source distributions e.g.:
    twine check dist/*
    twine upload dist/Pillow-5.2.0*
  • Publish the 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

Publicize Release

Documentation

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]]
@hugovk hugovk added the Release label Oct 20, 2020
@hugovk hugovk added this to the 8.1.0 milestone Oct 20, 2020
@hugovk hugovk pinned this issue Oct 20, 2020
@radarhere
Copy link
Member

radarhere commented Dec 25, 2020

Add release notes:

Ok, I've created #5133

@hugovk
Copy link
Member Author

hugovk commented Jan 2, 2021

@radarhere Are you up for this one?

@radarhere
Copy link
Member

@hugovk sure, I can do that. Would you mind merging in the security-related items first? You've been more across that than I have.

@radarhere
Copy link
Member

@wiredfool should I continue going ahead with this release, or wait for #5062?

@wiredfool
Copy link
Member

I would have liked #5602 to get in, because I think it's potentially a fix for a pretty serious issue, but we are looking at sending a pretty significant change out without decent smoke testing there.

@radarhere
Copy link
Member

Thanks.

@cgohlke could we have Windows binaries for 8.1.0?

@nulano
Copy link
Contributor

nulano commented Jan 2, 2021

One significant change in #5062, if/when it makes it in, is that it removes support for dynamically loading Raqm, which will require all Windows users to switch from installing libraqm.dll to fribidi.dll.

@radarhere
Copy link
Member

Thanks.

And we're done - https://twitter.com/PythonPillow/status/1345465680028569600

@hugovk
Copy link
Member Author

hugovk commented Jan 3, 2021

We had disabled Travis to conserve credits (#5028 (comment)), shall we chance building manylinux aarch64 wheels with the remaining credits?

@wiredfool
Copy link
Member

wiredfool commented Jan 3, 2021 via email

@hugovk
Copy link
Member Author

hugovk commented Jan 6, 2021

✅ Merged python-pillow/pillow-wheels#182
✅ Triggered https://travis-ci.com/github/python-pillow/pillow-wheels/builds/212162757
✅ Wheels built and uploaded as to https://github.com/python-pillow/pillow-wheels/releases/tag/untagged-16ee6820e47366c4ca5b
✅ Now at 1100 credits remaining, down from 2250? We should have one more build left until we're out.
👉 Show up as "untagged" on GH because the build wasn't a tag build, I think that's fine and the wheel files themselves look correctly versioned
👉 Would someone be able to test one of those before we upload to PyPI?

@nulano
Copy link
Contributor

nulano commented Jan 6, 2021

👉 Would someone be able to test one of those before we upload to PyPI?

Testing on GHA with aptman/qus mostly OK, fails at Image.show test (probably no viewer is available): https://github.com/nulano/Pillow/runs/1655645234?check_suite_focus=true

Edit: Disabling fast-fail, there are also two failures due to missing extra test images, everything else passes: https://github.com/nulano/Pillow/runs/1655692661?check_suite_focus=true#step:7:1751

@hugovk
Copy link
Member Author

hugovk commented Jan 11, 2021

🚀 I've uploaded the aarch64 wheels to PyPI:

@radarhere radarhere unpinned this issue Jan 12, 2021
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

4 participants