Repository navigation
Add support for Python 3.11 #6575
Description
Activity
-
Does "Update https://github.com/python-pillow/pillow-wheels" have any external dependencies, other than the 3.11.0 release itself? Can we do things like Updated Python 3.11 to rc2 pillow-wheels#324 so we don't need to wait for multibuild updates?
-
Is "Wait for 3.11.0 on AppVeyor" also a non-blocker? We're already testing 3.11 quite widely on Windows on GitHub Actions.
-
- Does "Update https://github.com/python-pillow/pillow-wheels" have any external dependencies, other than the 3.11.0 release itself? Can we do things like Updated Python 3.11 to rc2 pillow-wheels#324 so we don't need to wait for multibuild updates?
pillow-wheels#324 updates the macOS Python version so that we don't need to wait for multibuild, yes. The Linux Python versions though, come from images like https://quay.io/repository/pypa/manylinux_2_28_x86_64,
Good stuff, and those images are published by https://github.com/pypa/manylinux/ who should be quick about updating. (And it looks like they have automation too.)
Is "Wait for 3.11.0 on AppVeyor" also a non-blocker? We're already testing 3.11 quite widely on Windows on GitHub Actions.
Yes. AppVeyor is used as both a backup in case GHA stops working, as well as to make sure the Windows builds are not specific to GHA and can be done elsewhere also.
Reacted by Hugo van Kemenade- pinned this issue
on Sep 13, 2022 Main thing we're missing here is manylinux updating from 3.11.0rc2 to 3.11.0 final:
For example:
Tracking issue:
Tracking issues for non-blocking things:
Looks like the manylinux wheel issue was closed half an hour ago.
Hmm, while linux / 3.11 manylinux2014 i686 is picking up the new version:
Python 3.11.0 (main, Oct 24 2022, 19:56:01) [GCC 7.5.0]But linux / 3.11 manylinux2014 x86_64,
linux / 3.11 manylinux_2_28 x86_64 and
linux / 3.11 musllinux_1_1 x86_64 are still on RC1 (and there was also an RC2):Python 3.11.0rc1 (main, Aug 8 2022, 18:31:54) [GCC 9.4.0]That's because the i686 3.11 job uses my docker test image, whereas the others don't. The wheels are being built with Python 3.11 on those other environments, just not tested on them. I've created python-pillow/pillow-wheels#337 to fix that.
Reacted by Hugo van Kemenademulti-build/multibuild#485, multi-build/docker-images#37 and python-pillow/pillow-wheels#337 are merged, so the important 3.11 things are now ready! 🚀
To anyone watching this issue, Pillow 9.3.0 has now been released, so the latest wheels support Python 3.11.
Reacted by Hugo van Kemenade, Anagh Kumar Baranwal and WestlenandoAll the important things are in place and it could take Travis CI a long time to update (was ~3 months last time).
We can just update Travis as and when, no need to keep this open as a tracking issue.
- unpinned this issue
on Nov 13, 2022 Travis CI has updated to Python 3.11, and python-pillow/pillow-wheels#345 has added it to pillow-wheels.
So that is everything in our checklist.
Reacted by Hugo van Kemenade
Tracking issue for getting the pieces into place to support Python 3.11 in Pillow 9.3.0, released on 2022-10-24.
setup.pyversion check, add totox.ini, update Python support tableNon-blockers
3.11-devwith3.11on GHA: GitHub Actions: Test Python 3.11.0 final #66863.11-devshould pick up 3.11.0 on-flight fairly soon after release, and be added to cached images later3.10with3.11on AppVeyor: Updated AppVeyor to Python 3.11 #6723(3.10 issue for comparison: #5569)