Files
PX4-Autopilot/Tools/setup/optional-requirements.txt
T
Ramon Roche a7aecfb9fb build(container): bake optional requirements into px4-dev image
The Dockerfile only ever copied requirements.txt, so optional-requirements.txt
was never installed into the image even though it sits in the build context.
Every CI job needing pyelftools therefore fetched it from PyPI at job time and
failed whenever files.pythonhosted.org returned 502s.

symforce publishes no Linux aarch64 wheel and no sdist, so installing the file
unguarded would break the linux/arm64 image build. Gate it with an environment
marker so aarch64 installs pyelftools only.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Ramon Roche <mrpollo@gmail.com>
2026-08-18 15:13:33 -07:00

5 lines
244 B
Plaintext

pyelftools>=0.32,<1
# symforce publishes no Linux aarch64 wheel and no sdist, so it cannot be
# installed there. Skip it on that platform instead of failing the install.
symforce>=0.9.0; sys_platform != "linux" or platform_machine != "aarch64"