-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Fix venv created by build_python.sh to include minimal build requirements #1 #39944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Without it, for example python_path required by "build_examples.py" could be missing in out/python_env
Fix venv created by build_python.sh to include minimal build requirements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request correctly addresses an issue with missing build dependencies in the Python virtual environment by adding an installation step for requirements.build.txt
. My review includes a suggestion to enhance this change for better build reproducibility and consistency with other parts of the project's setup scripts.
PR #39944: Size comparison from f420a03 to f7cb88f Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
Summary
Adding scripts/setup/requirements.build.txt in the python venv created by build_python.sh to be able to run "build_examples.py"
Related issues
Without this change, when following the instructions in running-yaml-tests, I had python_path module missing from out/python_env because it was not a requirement when this venv is created.
Testing
In my installation, the instructions in running-yaml-tests now run fine.
Readability checklist
The checklist below will help the reviewer finish PR review in time and keep the
code readable:
descriptive
“When in Rome…”
rule (coding style)