Skip to content

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented May 27, 2025

# tkinter is not available in cibuildwheel installed CPython on Windows
try:
import tkinter
assert tkinter
except ImportError:
expected_modules.remove("tkinter")

Let's increase the specificity of this code to only silently catch the error on Windows, as per the comment.

Since this PR hasn't actually triggered a Wheels job, I'll point to https://github.com/radarhere/Pillow/actions/runs/15235083611 as evidence that this does still pass.

@hugovk hugovk merged commit 6bd5568 into python-pillow:main Jun 10, 2025
78 of 81 checks passed
@radarhere radarhere deleted the windows_wheel branch June 10, 2025 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants