Skip to content

Fix test_embeddable on MinGW - #10066

Closed
radarhere wants to merge 2 commits into
python-pillow:mainfrom
radarhere:mingw
Closed

radarhere wants to merge 2 commits into
python-pillow:mainfrom
radarhere:mingw

Conversation

@radarhere

@radarhere radarhere commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

After the latest update of the runner-image, test_embeddable has started failing on MinGW in main - https://github.com/python-pillow/Pillow/actions/runs/36274049311/job/108493249802

Before this, the test wasn't passing. It was being skipped with 'Compiler could not be initialized' - https://github.com/python-pillow/Pillow/actions/runs/36122556591/job/108031205104#step:6:9274

Option 1. We could mark it as xfail. #10067
Option 2. We try and fix it. I noticed a commit in @hugovk's fork, and have added a simplifying change onto it here. This isn't ready for merging yet. PyImport_ImportModule is returning NULL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants