Skip to content

ENH: Add armv7l wheel builds (manylinux/musllinux)#31348

Draft
Lauszus wants to merge 1 commit into
numpy:mainfrom
Lauszus:add-armv7l-wheels
Draft

ENH: Add armv7l wheel builds (manylinux/musllinux)#31348
Lauszus wants to merge 1 commit into
numpy:mainfrom
Lauszus:add-armv7l-wheels

Conversation

@Lauszus
Copy link
Copy Markdown

@Lauszus Lauszus commented Apr 28, 2026

PR summary

This PR adds support for building armv7l (Raspberry Pi) wheels.

Addresses the feature request in gh-31351. Please also see my corresponding numpy release PR: numpy/numpy-release#45

First time committer introduction

My name is Kristian and currently work at https://candela.com/ where we use numpy for various Python applications. Some of these applications are running on a Raspberry Pi compute module 4. For now we have been building numpy from source in CI by extending the official manylinux Docker images.

I thought it would be nice to build it upstream instead to speed up the CI, but also I think it will benefit a lot of people using Raspberry Pi for various hobby projects.

AI Disclosure

I used Claude Sonnet 4.6 to fork and push the commit, but I told it exactly which lines to change.

@Lauszus Lauszus force-pushed the add-armv7l-wheels branch from fe30834 to 0c2232b Compare April 28, 2026 08:13
@andyfaff
Copy link
Copy Markdown
Member

I'd note that the RPi5 units, and the CM5 modules, can both use the manylinux_aarch64 wheels that are currently on PyPI.

@andyfaff
Copy link
Copy Markdown
Member

I'm pretty sure that CM4 and RPi4 would also be able to use the manylinux_aarch64 wheels as the tech specs state "Broadcom BCM2711, Quad core Cortex-A72 (ARM v8) 64-bit SoC @ 1.8GHz"

@Lauszus
Copy link
Copy Markdown
Author

Lauszus commented Apr 28, 2026

I'm pretty sure that CM4 and RPi4 would also be able to use the manylinux_aarch64 wheels as the tech specs state "Broadcom BCM2711, Quad core Cortex-A72 (ARM v8) 64-bit SoC @ 1.8GHz"

Yes that is true, but we are stuck at 32-bit and cannot easily upgrade, as they are already deployed

@Lauszus Lauszus marked this pull request as draft April 28, 2026 09:18
@Lauszus Lauszus changed the title FEAT: Add armv7l wheel builds (manylinux/musllinux) ENH: Add armv7l wheel builds (manylinux/musllinux) Apr 28, 2026
@Lauszus
Copy link
Copy Markdown
Author

Lauszus commented Apr 28, 2026

I have now opened up an issue: #31351

@rgommers
Copy link
Copy Markdown
Member

@Lauszus did you test the new CI jobs on your fork, and if so can you link to a passing log? Note that it's normal to develop/debug CI jobs on your fork first, because you can run just the relevant job, rather than triggering O(75) jobs on a PR.

@rgommers
Copy link
Copy Markdown
Member

rgommers commented May 9, 2026

It looks like for regular armv7l CI coverage, we already have that:

armhf_test:

It was just a little harder to dig up because of the armhf vs. armv7l naming, but it's the same platform - the former is the Debian/Ubuntu naming for the specific 32-bit ABI.

So my read is that this doesn't increase coverage, unless we want to consider armv7l on Musl - but does anyone use that, and does it turn up any new issues now that it's run for the first time (see my question about results above)?

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.

3 participants