From 29fc4130e102f246f9b39668e15ed9a810e445fd Mon Sep 17 00:00:00 2001 From: Viktor Petersson Date: Thu, 25 Jun 2026 14:56:14 +0000 Subject: [PATCH] fix(install): add python3-dev for armv7l cffi build On 32-bit ARM (armv7l) there is no python-build-standalone binary, so uv falls back to the system interpreter and compiles cffi from its sdist (no armv7 wheel exists). That build needs the CPython headers (Python.h), provided by python3-dev, which was missing from the apt install list. This left 32-bit Raspberry Pi OS installs failing with: fatal error: Python.h: No such file or directory Co-Authored-By: Claude Opus 4.8 (1M context) --- bin/install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/install.sh b/bin/install.sh index b35f4b75b..a2a1f29a6 100755 --- a/bin/install.sh +++ b/bin/install.sh @@ -261,6 +261,11 @@ function install_packages() { "git" "libffi-dev" "libssl-dev" + # On 32-bit ARM (armv7l) there is no python-build-standalone + # binary, so uv falls back to the system interpreter and has to + # compile cffi from its sdist (no armv7 wheel exists). That build + # needs the CPython headers (Python.h), provided by python3-dev. + "python3-dev" "whois" )