Skip to content

Conversation

@mdickinson
Copy link
Member

@mdickinson mdickinson commented May 15, 2025

PIL removed support for Qt 5 in python-pillow/Pillow#8159. This PR skips the TestPILImage tests on Qt 5.

Related: #1255

@mdickinson mdickinson requested a review from Copilot May 15, 2025 13:34
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR skips the TestPILImage tests when running on Qt 5 since Pillow no longer supports it.

  • Introduces a conditional import of is_qt5 based on the current toolkit (“qt” or “qt4”).
  • Adds a unittest.skipIf decorator to bypass tests when using Qt5.

@mdickinson
Copy link
Member Author

Merging after self-review.

@mdickinson mdickinson merged commit 98925f5 into main May 15, 2025
19 of 31 checks passed
@mdickinson mdickinson deleted the fix/dont-test-pil-image-on-qt5 branch May 15, 2025 13:35
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.

1 participant