Skip to content

Add support for Python 3.11 #6575

Description

@hugovk

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)

Activity

  1. added this to the 9.3.0 milestone on Sep 13, 2022
  2. hugovk commented on Sep 13, 2022

    @hugovk
    MemberAuthor
  3. radarhere commented on Sep 13, 2022

    @radarhere
    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,

  4. hugovk commented on Sep 13, 2022

    @hugovk
    MemberAuthor

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

  5. nulano commented on Sep 13, 2022

    @nulano
    Contributor

    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.

  6. pinned this issue on Sep 13, 2022
  7. hugovk commented on Oct 25, 2022

    @hugovk
    MemberAuthor
  8. wiredfool commented on Oct 25, 2022

    @wiredfool
    Member

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

  9. hugovk commented on Oct 26, 2022

    @hugovk
    MemberAuthor

    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]
    
  10. radarhere commented on Oct 27, 2022

    @radarhere
    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.

  11. hugovk commented on Oct 27, 2022

    @hugovk
    MemberAuthor

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

  12. radarhere commented on Oct 29, 2022

    @radarhere
    Member

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

  13. hugovk commented on Nov 13, 2022

    @hugovk
    MemberAuthor

    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.

  14. unpinned this issue on Nov 13, 2022
  15. radarhere commented on Nov 22, 2022

    @radarhere
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions