Skip to content

Update Windows build readme + make cross-compilation work better + fix ImageQuant linkage - #10052

Merged
radarhere merged 5 commits into
python-pillow:mainfrom
akx:winbuild
Nov 11, 2026
Merged

radarhere merged 5 commits into
python-pillow:mainfrom
akx:winbuild

Conversation

@akx

@akx akx commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Since my usual Windows machine is on the fritz, I installed Windows 11 ARM64 in a VM on my Mac (works surprisingly well, btw!). I ended up with an AMD64 Python though, and the build scripts didn't account for that situation. This fixes a thing here and there in the build preparation script to make cross-compilation work.

It also includes the ImageQuant linkage fix (#10050), since it failing on Win32 in CI is also related to cross-compilation.

If #9926 is merged, the FriBiDi fixes here wouldn't be necessary, but that's an easy fix either way.

@akx akx changed the title Update Windows build readme + make cross-compilation work better Update Windows build readme + make cross-compilation work better + fix ImageQuant linkage Sep 25, 2026
@akx akx mentioned this pull request Nov 10, 2026

@hugovk hugovk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please can you update/rebase main following #10484 so this is also tested on ARM64?

Comment thread winbuild/build.rst Resolved
@akx

akx commented Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

Rebased on main, added that .rst suggestion.

@hugovk hugovk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm definitely not a Windows expert, but looks okay and CI is happy with it.

Comment thread setup.py Resolved
@radarhere
radarhere merged commit 1295b5c into python-pillow:main Nov 11, 2026
67 of 68 checks passed
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.

4 participants