Skip to content

mach: Force the use of arm64 Python when running with Windows on arm64#42371

Merged
jdm merged 1 commit intoservo:mainfrom
dpaoliello:uvarm64
Feb 6, 2026
Merged

mach: Force the use of arm64 Python when running with Windows on arm64#42371
jdm merged 1 commit intoservo:mainfrom
dpaoliello:uvarm64

Conversation

@dpaoliello
Copy link
Copy Markdown
Contributor

There is currently a bug in UV that results in it using the x64 flavor of Python when running on Arm64 Windows. This then causes all Python scripts to believe they are on an x64 device and so Server installs the wrong dependencies and builds for the wrong architecture.

Testing: Local on my Arm64 Windows device
Contributes to fixing #40611

@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Feb 5, 2026
@mrobinson mrobinson changed the title [win][arm64] Workaround for UV using x64 Python on Arm64 Windows mach: Force the use of arm64 Python when running with Windows on arm64 Feb 5, 2026
Copy link
Copy Markdown
Member

@jdm jdm left a comment

Choose a reason for hiding this comment

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

Thanks!

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Feb 6, 2026
@jdm jdm added this pull request to the merge queue Feb 6, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Feb 6, 2026
Merged via the queue into servo:main with commit 0f2adc6 Feb 6, 2026
30 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Feb 6, 2026
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.

4 participants