Skip to content

Ship the runtime wheels so enrollment needs no internet connection - #2

Open
LixNix wants to merge 1 commit into
devfrom
dev-lixnix
Open

Ship the runtime wheels so enrollment needs no internet connection#2
LixNix wants to merge 1 commit into
devfrom
dev-lixnix

Conversation

@LixNix

@LixNix LixNix commented Aug 7, 2026

Copy link
Copy Markdown
Member

The daemon's venv was built by pip installing fastapi, uvicorn and python-multipart from PyPI on the printer, so it could only be built where the printer itself had an internet connection.

fetch-wheels.sh resolves those packages for the printer's target, CPython 3.11 on aarch64 against glibc, and writes them into wheels/ beside the pgpy wheel that already ships. The app uploads them over SSH and installs with the index switched off.

The daemon's venv was built by pip installing fastapi, uvicorn and
python-multipart from PyPI on the printer, so it could only be built where the
printer itself had an internet connection.

fetch-wheels.sh resolves those packages for the printer's target, CPython 3.11
on aarch64 against glibc, and writes them into wheels/ beside the pgpy wheel
that already ships. The app uploads them over SSH and installs with the index
switched off.
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