Repository navigation
Conversation
zaniebot
force-pushed
the
zb/retain-win-amd64-wheels-on-arm64
branch
from
September 11, 2026 02:44
6b6c862 to
73d7080
Compare
astral-automations-bot
Bot
force-pushed
the
zb/retain-win-amd64-wheels-on-arm64
branch
from
September 16, 2026 11:46
73d7080 to
8d2def5
Compare
zanieb
added a commit
to astral-sh/uv
that referenced
this pull request
Oct 2, 2026
An x86-64 Python interpreter running under emulation on Windows ARM64 can report `ARM64` for `platform_machine` while its supported wheel tags contain `win_amd64`. When a lockfile is restricted to an ARM environment, the marker filter can infer that those wheels are unreachable and discard them. A later install with the emulated interpreter then builds from source unnecessarily, or fails if the package cannot be built locally. Retain `win_amd64` wheels when the dependency marker can describe Windows ARM. Explicit wheel-tag compatibility and `Requires-Python` checks still run first, so this does not make an incompatible wheel installable. This fixes existing emulated-interpreter behavior regardless of which Python architecture uv selects by default. Ports astral-sh#1384. Closes #15693 See python/cpython#98962
astral-automations-bot
Bot
force-pushed
the
zb/retain-win-amd64-wheels-on-arm64
branch
from
October 12, 2026 14:01
8d2def5 to
8e4b4c7
Compare
Member
|
Closing as superseded by astral-sh#22099, which has been merged. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An emulated x86-64 interpreter on Windows ARM64 can report
ARM64forplatform_machinewhile usingwin_amd64wheel tags. The lockfile's marker filter can then discard a compatible wheel and fall back to a source build, as reported in astral-sh#15693. RetainWinAmd64wheels when the marker can describe Windows ARM, after the existing concrete-tag andRequires-Pythonchecks. Interpreter selection and the separatewin32emulation policy are unchanged.