Skip to content

Commit f289242

Browse files
committed
feat(pypi): support aarch64 windows on pipstar
This adds the necessary bits for Windows ARM64 support when evaluating env markers in requirements files and selecting the right wheels in `experimental_index_url`. Related #2276
1 parent 1ebc93f commit f289242

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ END_UNRELEASED_TEMPLATE
129129
* {obj}`//python:features.bzl%features.headers_abi3` can be used to
130130
feature-detect the presense of the above.
131131
* (toolchains) Local toolchains can use a label for the interpreter to use.
132+
* (pypi) Support for environment marker and `experimental_index_url` handling for
133+
Windows ARM64
134+
([#2276](https://github.com/bazel-contrib/rules_python/issues/2276)).
132135

133136
{#v1-6-3}
134137
## [1.6.3] - 2025-09-21

MODULE.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ pip = use_extension("//python/extensions:pip.bzl", "pip")
163163
whl_platform_tags = whl_platform_tags,
164164
)
165165
for cpu, whl_platform_tags in {
166+
"aarch64": ["win_arm64"],
166167
"x86_64": ["win_amd64"],
167168
}.items()
168169
for freethreaded in [

examples/bzlmod/MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ pip.default(
172172
os_name = "windows",
173173
platform = "windows_aarch64",
174174
whl_abi_tags = [], # default to all ABIs
175-
whl_platform_tags = ["win_amd64"],
175+
whl_platform_tags = ["win_arm64"],
176176
)
177177

178178
# To fetch pip dependencies, use pip.parse. We can pass in various options,

0 commit comments

Comments
 (0)