Repository navigation
Drop support for Python 3.10 - #9750
Conversation
87ab4ac to
a7c52fe
Compare
Let's remove that one, we did the same two years ago for 20.04: python-pillow/docker-images#275.
I think it's time for the slower |
|
Similar to radarhere/docker-images#4, I've split the valgrind tests into four jobs.
|
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
| class TestAvifAnimation: | ||
| @contextmanager | ||
| def star_frames(self) -> Generator[list[Image.Image], None, None]: | ||
| def star_frames(self) -> Generator[list[Image.Image]]: |
There was a problem hiding this comment.
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]
There was a problem hiding this comment.
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.
|
Note to future self - this somewhere missed AGENTS.md. See #10298 |
|
#9582 was opened 22nd April when 3.10 was still supported and merged on 4th September. This PR was opened 1st July and merged 13th July. So that file didn't exist yet for this drop PR :) |
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:
ubuntu-22.04-jammy-amd64andubuntu-22.04-jammy-amd64-valgrindwhich use 3.10: upgrade to 3.11 or drop