Skip to content

Support 32-bit ARM (armv7) targets in --python-platform #23405

Backlog

Description

@PolarBearEs

Summary

--python-platform has aarch64-* and x86_64-* Linux targets, but nothing for 32-bit ARM, even though uv already ships binaries and managed Python builds for armv7-unknown-linux-gnueabihf.

Proposal

Add armv7 Linux targets that mirror the existing aarch64 ones:

Target Wheel tags platform_machine
armv7-unknown-linux-gnueabihf manylinux_2_x_armv7l (same default glibc as the other -unknown-linux-gnu targets), linux_armv7l armv7l
armv7l-manylinux_2_17 … armv7l-manylinux_2_40 manylinux_2_x_armv7l up to that glibc, linux_armv7l armv7l

(Optionally armv7-unknown-linux-musleabihf for musllinux_1_x_armv7l.)

Motivation

This would let uv sync --frozen --python-platform ... / uv pip install --python-platform ... target armv7 devices (e.g. Raspberry Pi) from x86_64 CI without emulation, as is already possible for aarch64. Including linux_armv7l matters because piwheels, the main armv7 wheel source, publishes non-manylinux tags.

Possibly related: #18127.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions