Skip to content

Add a test case for armv7 uv on aarch64 - #18532

Merged
zanieb merged 3 commits into
mainfrom
zb/hf-test
Mar 18, 2026
Merged

zanieb merged 3 commits into
mainfrom
zb/hf-test

Conversation

@zanieb

@zanieb zanieb commented Mar 17, 2026 •

Copy link
Copy Markdown
Member

Reproduces #18509
Related #18517
Requires #18530

@zanieb
zanieb temporarily deployed to uv-test-registries March 17, 2026 21:51 — with GitHub Actions Inactive
@zanieb
zanieb temporarily deployed to uv-test-registries March 17, 2026 22:01 — with GitHub Actions Inactive
@zanieb zanieb changed the title WIP: Add a test case for armv7 uv on aarch64 Add a test case for armv7 uv on aarch64 Mar 17, 2026
@zanieb
zanieb temporarily deployed to uv-test-registries March 17, 2026 22:16 — with GitHub Actions Inactive
zanieb added a commit that referenced this pull request Mar 18, 2026
…18530)

Pulled out of #18517

I don't have aarch64 hardware available locally, but Claude posited: 

> When an armv7 binary runs on an aarch64 kernel (e.g., armv7l
containers on aarch64 hosts, or 32-bit Raspberry Pi OS on 64-bit
hardware), /proc/cpuinfo reports aarch64-style feature flags instead of
armv7 flags. The existing check for "vfp" fails because aarch64 uses
"fp" instead.
> 
> Add detection of the aarch64 "fp" feature flag (mandatory on all
aarch64 CPUs) as a discrete token, indicating hardware floating-point
support. This ensures uv selects the gnueabihf (hard-float) Python
variant instead of the gnueabi (soft-float) variant.

I reproduced this in #18532

Under QEMU on aarch64 macOS, both the `vfp` and `fp` feature flags are
set.

Closes #18509
@zanieb
zanieb marked this pull request as ready for review March 18, 2026 12:54
@zanieb zanieb added the internal:testing Internal testing of behavior label Mar 18, 2026
@zanieb
zanieb had a problem deploying to uv-test-registries March 18, 2026 13:00 — with GitHub Actions Failure
@zanieb
zanieb temporarily deployed to uv-test-registries March 18, 2026 13:12 — with GitHub Actions Inactive
@zanieb
zanieb merged commit c541a91 into main Mar 18, 2026
148 of 149 checks passed
@zanieb
zanieb deleted the zb/hf-test branch March 18, 2026 23:59

This branch was previously deployed

1 inactive deployment
uv-test-registries — 70ea6fcd Deployed Mar 18, 2026 by zanieb via test-integration / registries #37240
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal:testing Internal testing of behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant