python-pillow / Pillow

Python Imaging Library (Fork)
https://python-pillow.org
Other
12.21k stars 2.22k forks source link

Release Pillow 9.3.0 on October 29, 2022 #6460

Closed hugovk closed 1 year ago

hugovk commented 2 years ago

Main Release

Released quarterly on January 2nd, April 1st, July 1st and October 15th.

Will add support for Python 3.11.

Edit: The Python 3.11.0 release date has been delayed until 2022-10-24, so we're now targeting 2022-10-25 for the Pillow release.


Binary Distributions

Windows

Mac and Linux

Publicize Release

Documentation

Docker Images

hugovk commented 2 years ago

Python 3.11.0 RC2 is released today, and notes 3.11.0 final is delayed by three weeks from the original 2022-10-03 to 2022-10-24:

Modification of the final release

Due to the fact that we needed to delay the last release candidate by a week and because of personal scheduling problems I am delaying the final release to 2022-10-24 (three weeks from the original date).

The Pillow release was planned for 2022-10-15, with a 10-day buffer following 3.11.0 final for other things to get ready (multibuild, CIs, etc).

The new final date is a week and a weekend after our planned release.

What should we do?

radarhere commented 2 years ago

Hmm. I vote for waiting. I don't think there's anything particularly pressing in the pipeline, and I think it's neater for the minor version numbers to match Python version support.

madebylydia commented 2 years ago

Nothing wrong in waiting a bit more for Python 3.11 release first, better not have an unexpected breakage :)

aclark4life commented 2 years ago

@hugovk @radarhere My strong preference is to consistently provide quarterly releases NO MATTER WHAT, unless SOMETHING BIG HAPPENS to prevent the quarterly release from happening. That said, in this case, it sounds like waiting for final release of a new Python version is reasonable since it's less than 2 weeks from our normal quarterly release date :+1:

hugovk commented 2 years ago

Sounds good, shall we target 2022-10-25, = 3.11.0 release date + 1 day, and put the release out as soon as all the pieces are ready, which I think we can do pretty quickly?

I created https://github.com/python-pillow/Pillow/issues/6575 to track what's needed to support 3.11, can discuss those details in there.

hugovk commented 2 years ago

Python 3.11 is all set for release on Monday! Let's join in the release party here!

That means we're all set for release on Tuesday, or very soon after! (See https://github.com/python-pillow/Pillow/issues/6575 for the necessary jigsaw pieces.)

I'm travelling tomorrow (Sunday), so might not get the chance to review all the PRs in the backlog before our release day. If there's something that needs prioritising for this release, please drop links here (and add to the milestone if you can). Also reviews welcome on others' PRs you'd like including.

Thank you!

nulano commented 2 years ago

As noted in #6369, this will be the first release using wheels built using GitHub Actions. I'm not sure whether warrants mentioning in the release notes.

I previously noticed that the tag for 9.2.0 did not trigger a build likely because it was pushed together with an extra commit updating the main branch, so I would suggest making sure the two are pushed separately.

I would suggest including #6562 if possible to mirror https://github.com/python-pillow/Pillow/issues/4907#issuecomment-751524051 and https://github.com/python-pillow/Pillow/issues/6554#issuecomment-1239034576 in the GHA-built Windows wheels.

hugovk commented 2 years ago

Yes, definitely worth mentioning the wheel changes, I'll add that, and check #6562. Thanks!

cgohlke commented 1 year ago

Please consider adding #6690 to the release.

aclark4life commented 1 year ago

ETA today-ish for release? :innocent: Just curious and thanks, @hugovk @radarhere, all!

hugovk commented 1 year ago

Yes, I think we're pretty much set, some last few PRs to check/merge, then I can start the release either later today or tomorrow morning (Europe time).

hugovk commented 1 year ago

Update: blocked by https://github.com/python-pillow/Pillow/issues/6437#issuecomment-1293783575, PR at https://github.com/python-pillow/Pillow/pull/6695.

wiredfool commented 1 year ago

See security repo as well.

hugovk commented 1 year ago

All set, will start the release!

nulano commented 1 year ago

Which GHA run did you download from? I do not see a run for the latest commit. The most recent I see is https://github.com/python-pillow/Pillow/actions/runs/3351360445, which is for 9.3.0.dev0.

I think you might have to manually trigger a build for https://github.com/python-pillow/Pillow/commit/d594f4cb8dc47fb0c69ae58d9fff86faae4515bd, as it did not trigger automatically for some reason...

hugovk commented 1 year ago

https://github.com/python-pillow/Pillow/actions/runs/3351488412

I did it for https://github.com/python-pillow/Pillow/actions/runs/3351360445, which are indeed dev versions:

2.1M Oct 29 15:29 dist/Pillow-9.3.0.dev0-cp310-cp310-win32.whl
2.4M Oct 29 15:29 dist/Pillow-9.3.0.dev0-cp310-cp310-win_amd64.whl
2.1M Oct 29 15:29 dist/Pillow-9.3.0.dev0-cp311-cp311-win32.whl
2.4M Oct 29 15:29 dist/Pillow-9.3.0.dev0-cp311-cp311-win_amd64.whl
2.1M Oct 29 15:29 dist/Pillow-9.3.0.dev0-cp37-cp37m-win32.whl
2.4M Oct 29 15:29 dist/Pillow-9.3.0.dev0-cp37-cp37m-win_amd64.whl
2.1M Oct 29 15:29 dist/Pillow-9.3.0.dev0-cp38-cp38-win32.whl
2.4M Oct 29 15:29 dist/Pillow-9.3.0.dev0-cp38-cp38-win_amd64.whl
2.1M Oct 29 15:29 dist/Pillow-9.3.0.dev0-cp39-cp39-win32.whl
2.4M Oct 29 15:29 dist/Pillow-9.3.0.dev0-cp39-cp39-win_amd64.whl
2.4M Oct 29 15:29 dist/Pillow-9.3.0.dev0-pp37-pypy37_pp73-win_amd64.whl
2.4M Oct 29 15:29 dist/Pillow-9.3.0.dev0-pp38-pypy38_pp73-win_amd64.whl

I've deleted those locally.

The CI didn't build for the tag, because I put "[ci skip]" in the "Update CHANGES.rst [ci skip]" commit message: https://github.com/python-pillow/Pillow/commit/d594f4cb8dc47fb0c69ae58d9fff86faae4515bd

I think you might have to manually trigger a build for https://github.com/python-pillow/Pillow/commit/d594f4cb8dc47fb0c69ae58d9fff86faae4515bd, as it did not trigger automatically for some reason...

Done! https://github.com/python-pillow/Pillow/actions/runs/3351488412

Thanks for checking!

nulano commented 1 year ago

https://github.com/python-pillow/Pillow/actions/runs/3351488412 has finished, and I've checked the Python 3.7 x86_64 wheel looks good on my system.

hugovk commented 1 year ago

Yep, that's more like it!

2.1M Oct 29 17:02 Pillow-9.3.0-cp310-cp310-win32.whl
2.4M Oct 29 17:02 Pillow-9.3.0-cp310-cp310-win_amd64.whl
2.1M Oct 29 17:02 Pillow-9.3.0-cp311-cp311-win32.whl
2.4M Oct 29 17:02 Pillow-9.3.0-cp311-cp311-win_amd64.whl
2.1M Oct 29 17:02 Pillow-9.3.0-cp37-cp37m-win32.whl
2.4M Oct 29 17:02 Pillow-9.3.0-cp37-cp37m-win_amd64.whl
2.1M Oct 29 17:02 Pillow-9.3.0-cp38-cp38-win32.whl
2.4M Oct 29 17:02 Pillow-9.3.0-cp38-cp38-win_amd64.whl
2.1M Oct 29 17:02 Pillow-9.3.0-cp39-cp39-win32.whl
2.4M Oct 29 17:02 Pillow-9.3.0-cp39-cp39-win_amd64.whl
2.4M Oct 29 17:02 Pillow-9.3.0-pp37-pypy37_pp73-win_amd64.whl
2.4M Oct 29 17:02 Pillow-9.3.0-pp38-pypy38_pp73-win_amd64.whl
hugovk commented 1 year ago

Released! šŸš€

Tweet to follow!

madebylydia commented 1 year ago

šŸ‘ šŸ‘ šŸ‘

hugovk commented 1 year ago

:rocket: https://twitter.com/PythonPillow/status/1586367446012788736

clairem-sl commented 1 year ago

Related to #6412 , is there an ETA for binary wheel for PyPy3.9 ?

hugovk commented 1 year ago

No, still waiting for it to move out of beta: https://github.com/python-pillow/Pillow/issues/6412#issuecomment-1173045961. You could ask the PyPy team if they have an ETA.

radarhere commented 1 year ago

If it is helpful, here are some unofficial PyPy 3.9 wheels I've just put together for Linux - Pillow-9.3.0-pypy39-linux.zip

nulano commented 1 year ago

Similarly to @radarhere, I've built an unofficial PyPy3.9 wheel for Windows: Pillow-9.3.0-pp39-pypy39_pp73-win_amd64.whl.zip

radarhere commented 1 year ago

After #6701 discovered a problem with the Python 3.7 wheels for Windows, #6702 has been merged to fix the issue for the future, and I've uploaded two new wheels to PyPI, combining this release with that PR.

radarhere commented 1 year ago

@clairem-sl PyPy3.9 has now been released.

6782 has added Pillow wheels for Windows, and https://github.com/python-pillow/pillow-wheels/pull/349 is in progress to add Pillow wheels for macOS and Linux.