Skip to content

build: bake the rpi-lgpio build toolchain into the image - #10

Merged
ArnavVWadhwa merged 1 commit into
mainfrom
add-rpi-lgpio-build-deps
Sep 1, 2026
Merged

ArnavVWadhwa merged 1 commit into
mainfrom
add-rpi-lgpio-build-deps

Conversation

@ArnavVWadhwa

Copy link
Copy Markdown
Contributor

lgpio (via rpi-lgpio, which dpeaDPi needs for RPi.GPIO) has no aarch64 cp313 wheel, so it compiles from source at uv sync time on the Pi. Add swig, python3-dev, and liblgpio-dev so a freshly flashed exhibit's first uv sync does not fail on missing swig, Python.h, or -llgpio. python3-dev is a build header, not a venv library, so it is a documented exception to the no-python3-* rule in packages.txt.

lgpio (via rpi-lgpio, which dpeaDPi needs for RPi.GPIO) has no aarch64 cp313
wheel, so it compiles from source at uv sync time on the Pi. Add swig,
python3-dev, and liblgpio-dev so a freshly flashed exhibit's first uv sync does
not fail on missing swig, Python.h, or -llgpio. python3-dev is a build header,
not a venv library, so it is a documented exception to the no-python3-* rule in
packages.txt.
@ArnavVWadhwa
ArnavVWadhwa requested a review from a team as a code owner September 1, 2026 21:10
@ArnavVWadhwa
ArnavVWadhwa merged commit f304aa0 into main Sep 1, 2026
2 checks passed
@ArnavVWadhwa
ArnavVWadhwa deleted the add-rpi-lgpio-build-deps branch September 1, 2026 21:11
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.

1 participant