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

Add support for Python 3.11 #6575

Closed
11 tasks done
hugovk opened this issue Sep 13, 2022 · 12 comments
Closed
11 tasks done

Add support for Python 3.11 #6575

hugovk opened this issue Sep 13, 2022 · 12 comments
Milestone

Comments

@hugovk
Copy link
Member

hugovk commented Sep 13, 2022

Tracking issue for getting the pieces into place to support Python 3.11 in Pillow 9.3.0, released on 2022-10-24.

Non-blockers

(3.10 issue for comparison: #5569)

@hugovk hugovk added this to the 9.3.0 milestone Sep 13, 2022
@hugovk
Copy link
Member Author

hugovk commented Sep 13, 2022

@radarhere
Copy link
Member

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,

@hugovk
Copy link
Member Author

hugovk commented Sep 13, 2022

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.)

@nulano
Copy link
Contributor

nulano commented Sep 13, 2022

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.

@hugovk
Copy link
Member Author

hugovk commented Oct 25, 2022

@wiredfool
Copy link
Member

Looks like the manylinux wheel issue was closed half an hour ago.

@hugovk
Copy link
Member Author

hugovk commented Oct 26, 2022

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]

@radarhere
Copy link
Member

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.

@hugovk
Copy link
Member Author

hugovk commented Oct 27, 2022

multi-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! 🚀

@radarhere
Copy link
Member

To anyone watching this issue, Pillow 9.3.0 has now been released, so the latest wheels support Python 3.11.

@hugovk
Copy link
Member Author

hugovk commented Nov 13, 2022

All 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.

@radarhere
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants