Describe the bug
While updating a container build image to use the v4.4-branch, it was noticed that the scripts/requirements.txt file did not include the scripts/requirements-west.txt file. As such, the following was blindly added to the Dockerfile to run:
pip install -r scripts/requirements.txt -r scripts/requirements-west.txt
This fails to build with complains shown in the output log.
Note this only fails when adding the requirements-west.txt to any of the other requirements-*.txt files. When only installing the requirements-west.txt there is no issue.
Regression
Steps to reproduce
Steps to reproduce behavior:
pip install -r scripts/requirements.txt -r scripts/requirements-west.txt
Relevant log output
0.563 Collecting pyelftools>=0.29 (from -r /repo-cache/zephyrproject/zephyr/scripts/requirements-base.txt (line 7))
0.563 ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:
0.563 pyelftools>=0.29 from https://files.pythonhosted.org/packages/af/43/700932c4f0638c3421177144a2e86448c0d75dbaee2c7936bda3f9fd0878/pyelftools-0.32-py3-none-any.whl (from -r /repo-cache/zephyrproject/zephyr/scripts/requirements-base.txt (line 7))
Impact
Annoyance – Minor irritation; no significant impact on usability or functionality.
Environment
Originally discovered on debian:bookworm-slim
Additional Context
No response
Describe the bug
While updating a container build image to use the v4.4-branch, it was noticed that the
scripts/requirements.txtfile did not include thescripts/requirements-west.txtfile. As such, the following was blindly added to the Dockerfile to run:This fails to build with complains shown in the output log.
Note this only fails when adding the
requirements-west.txtto any of the other requirements-*.txt files. When only installing therequirements-west.txtthere is no issue.Regression
Steps to reproduce
Steps to reproduce behavior:
pip install -r scripts/requirements.txt -r scripts/requirements-west.txtRelevant log output
Impact
Annoyance – Minor irritation; no significant impact on usability or functionality.
Environment
Originally discovered on
debian:bookworm-slimAdditional Context
No response