Skip to content

Conversation

@radarhere
Copy link
Member

It turns out that when test_embeddable was marked as passing in Python 3.13 in #8683, there was an error when using Windows x86 or AMD64 after building the wheels - https://github.com/python-pillow/Pillow/actions/runs/12721987647/job/35465533303#step:7:25500

distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools"

Because this problem may occur in a local setup when running the test suite, this PR initializes the compiler (as seen two steps earlier in the error traceback) separately, and if that throws an error, before anything Pillow-related occurs, then the test is skipped.

With this change, the wheels start passing - https://github.com/radarhere/Pillow/actions/runs/12722505250/job/35466599838

@radarhere radarhere mentioned this pull request Jan 13, 2025
@hugovk hugovk merged commit f521a4b into python-pillow:main Jan 13, 2025
49 checks passed
@hugovk
Copy link
Member

hugovk commented Jan 13, 2025

Thank you!

@radarhere radarhere deleted the test_embeddable_wheels branch January 13, 2025 19:33
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