FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Drop support for Python 3.10 by hugovk · Pull Request #9750 · python-pillow/Pillow · GitHub

Drop support for Python 3.10 - #9750

Merged
radarhere merged 12 commits into
python-pillow:mainfrom
hugovk:rm-3.10
Jul 17, 2026
Merged

Drop support for Python 3.10#9750
radarhere merged 12 commits into
python-pillow:mainfrom
hugovk:rm-3.10

Conversation

hugovk commented Jul 1, 2026
edited by radarhere
Loading

Copy link
Copy Markdown
Member

Python 3.10 reaches end of life in October 2026:

Pillow 13.0.0 is planned for 2026-10-15 and will drop Python 3.10:

TODO:

hugovk added the Removal Removal of a feature, usually done in major releases label Jul 1, 2026
hugovk force-pushed the rm-3.10 branch 3 times, most recently from 87ab4ac to a7c52fe Compare July 1, 2026 19:05

hugovk commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

Decide about ubuntu-22.04-jammy-amd64

Let's remove that one, we did the same two years ago for 20.04: python-pillow/docker-images#275.

and ubuntu-22.04-jammy-amd64-valgrind which use 3.10: upgrade to 3.11 or drop

I think it's time for the slower ubuntu-24.04-noble-amd64-valgrind: python-pillow/docker-images#272.

hugovk commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

Similar to radarhere/docker-images#4, I've split the valgrind tests into four jobs.

Workflow 22.04 unsplit (main) 24.04 unsplit 24.04 split x 4
Test Valgrind 81m - 89m 99m 36m
Test Valgrind Memory Leaks 3h 08m - 3h 40m 3h 07m 54m

hugovk commented Jul 10, 2026

Copy link
Copy Markdown
Member Author

hugovk marked this pull request as ready for review July 10, 2026 13:17
Comment thread Tests/test_file_avif.py
class TestAvifAnimation:
@contextmanager
def star_frames(self) -> Generator[list[Image.Image], None, None]:
def star_frames(self) -> Generator[list[Image.Image]]:

radarhere Jul 13, 2026
edited
Loading

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I'm having a hard time finding how this change is part of Python 3.11. It appears to work in Python 3.10.

Python 3.10.20 (main, Mar  7 2026, 05:04:57) [Clang 17.0.0 (clang-1700.6.3.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from collections.abc import Generator
>>> Generator[int]
collections.abc.Generator[int]

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Done by pyupgrade, and yes, could have been done already in 3.10 but we're using Ruff now and its UP rule doesn't do this.

radarhere merged commit 2b73839 into python-pillow:main Jul 17, 2026
111 of 113 checks passed
hugovk deleted the rm-3.10 branch July 17, 2026 21:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Removal Removal of a feature, usually done in major releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL