Skip to content

Upgrade pillow, drop python 3.9, support up to python 3.14#2562

Open
zduvall wants to merge 2 commits intoZulko:masterfrom
zduvall:upgrade-pillow-2026-04-16
Open

Upgrade pillow, drop python 3.9, support up to python 3.14#2562
zduvall wants to merge 2 commits intoZulko:masterfrom
zduvall:upgrade-pillow-2026-04-16

Conversation

@zduvall
Copy link
Copy Markdown

@zduvall zduvall commented Apr 16, 2026

Fixes #2553 — bumps the Pillow lower bound to >=12.2.0, resolving two active CVEs that are blocked by the current <12.0 constraint:

Targeting 12.2.0 ensures both vulnerabilities are fully patched.

Changes:

  • pyproject.toml: bump Pillow to >=12.2.0, drop Python 3.9 classifier, add 3.13/3.14 classifiers, widen pytest upper bound to <10.0.0 (required for Python 3.14 compatibility)
  • CI workflows: drop Python 3.9, add 3.12/3.13/3.14 to test matrix
  • README.md: update minimum Python version to 3.10+

Python 3.9 is dropped because it reached EOL on October 31, 2025 and is no longer supported by Pillow 12.x. This is the minimal change needed to unblock downstream users who cannot currently resolve the Pillow CVE while depending on moviepy.

Tested locally: ran the full test suite against Python 3.103.14, all passing.

@zduvall zduvall changed the title Upgrade pillow 2026 04 16 Upgrade pillow, drop python 3.9 Apr 16, 2026
@zduvall zduvall changed the title Upgrade pillow, drop python 3.9 Upgrade pillow, drop python 3.9, support up to python 3.14 Apr 16, 2026
@zduvall zduvall force-pushed the upgrade-pillow-2026-04-16 branch from c8af399 to d215fed Compare April 21, 2026 14:47
@zduvall zduvall force-pushed the upgrade-pillow-2026-04-16 branch from d215fed to d9b71bb Compare April 21, 2026 14:54
Comment thread pyproject.toml
requires-python=">=3.9"
requires-python=">=3.10"
name = "moviepy"
version = "2.2.0"
Copy link
Copy Markdown

@adamkerz adamkerz Apr 29, 2026

Choose a reason for hiding this comment

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

This was inadvertently pulled backwards by a merge commit and then a fix, that was still wrong.

It should be 2.2.1 at least - or more likely 2.3.0 with these other changes.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thanks for your PR, btw!

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

Successfully merging this pull request may close these issues.

Support for Pillow >= 12.0 (Dependency Conflict with Pillow 12.1.1)

2 participants