Skip to content

Improved support for Python 3.14 #8948

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

Merged
merged 3 commits into from
May 8, 2025
Merged

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented May 8, 2025

  1. A test has started failing now that an error message has changed in Python 3.14

https://github.com/python-pillow/Pillow/actions/runs/14903027962/job/41859109942#step:11:3834

E AssertionError: Regex pattern did not match.
E Regex: 'must be sequence of length 4'
E Input: 'argument 3 must be tuple of length 4, not 2'

  1. An error has started occurring when building PyQt6 on Python 3.14 - https://github.com/python-pillow/Pillow/actions/runs/14903027971/job/41859749652#step:8:12

Let's skip it for now.

  1. Those changes then triggers our Windows message about unsupported Python versions - https://github.com/python-pillow/Pillow/actions/runs/14906195788/job/41869036883?pr=8948#step:28:779. Since Python 3.14 has now reached beta, we would like users to be able to install and it, so let's increment the version check.

...this then leads to the same error from building PyQt6 occurring when building Pillow - https://github.com/python-pillow/Pillow/actions/runs/14906674076/job/41870606277?pr=8948#step:28:769

LINK : fatal error LNK1104: cannot open file 'python314t.lib'

@radarhere radarhere changed the title Updated error message for Python 3.14 Improved support for Python 3.14 May 8, 2025
@radarhere radarhere removed the Testing label May 8, 2025
@hugovk hugovk merged commit 3c71559 into python-pillow:main May 8, 2025
67 of 68 checks passed
@radarhere radarhere deleted the error branch May 8, 2025 21:31
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.

2 participants