-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
tools: upgrade all python packages & add 'pip-requirements' action #12193
Conversation
Test specificationCI/Jenkins/NRF
CI/Jenkins/integration
All integration tests: added because 'CI-all-test' was added manually Detailed information of selected test modules Note: This message is automatically posted and updated by the CI |
4d383a6
to
5991309
Compare
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.
bot editing of the requirements-fixed.txt file will come in a future PR.
We have it working, but not ready for this week.
d588a2c
to
dbd94a2
Compare
dbd94a2
to
e76e113
Compare
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.
Not approving a PR which may cause PRs to fail for reason that are completely unrelated to the changes in the PR itself.
If the requirements-fixed.txt PR goes in, then we can suddenly have 10 PRs that fails for the same reason, and which author of those 10 should fix the failure ?
Or even worse, all 10 authors waste time to investigate and fix the same error.
Please use a daily cron job, or similar for handling this issue.
Current proposed solution will create a lot of noise for everyone else.
scripts/requirements.txt
Outdated
@@ -1,2 +1,4 @@ | |||
-r requirements-base.txt | |||
-r requirements-build.txt | |||
-r requirements-ci.txt |
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.
why must all developers install requirements for CI ?
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/installation/installing.html#install-additional-python-dependencies
Aren't the requirements-ci.txt
intended for those setting up CI, and regular developers can ignore pip-packages referenced in this file ?
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.
@jaci-nordic removed it from requirements.txt and added to to the pip-compile command in compile-requirements.txt
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.
could you please fixup this commit: 7851b12
to avoid adding the lines in the first place.
It's annoying when reviewing PRs or doing a blame later, to have lines added in one commit, which are then removed again in the next commit.
In this case, those lines:
https://github.com/nrfconnect/sdk-nrf/blob/7851b12da6f944c7fbeb9d749f66f788f25fc2b5/scripts/requirements.txt#L3-L4
are added in this commit: 7851b12
and removed in this commit: 0176f8f
Seems I've overlooked this line: so no concerns wrt. when this workflow runs. Please reply to other comments, as they are still valid. |
d4a1e3b
to
8e663c6
Compare
8e663c6
to
b622dfb
Compare
b622dfb
to
02e9d33
Compare
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
The code changes in ncs/main need newest zcbor. Hence upgrading. See nrfconnect#12193 Signed-off-by: Balaji Srinivasan <balaji.srinivasan@nordicsemi.no>
pip-requirements GH Action:
python upgrades
ZCBOR commit was pulled in from modules/zcbor/tests: Fix command line parameter order #12016 to fix twister test.
Following packages will be added to requirements-fixed.txt with this change
Deprecated
Markdown
PyGithub
PyJWT
PyNaCl
azure-core
azure-storage-blob
capstone
dill
editdistance
exceptiongroup
gitlint-core
graphviz
grpcio
importlib-resources
isodate
jsonschema-specifications
lark
libusb-package
m2r2
mistune
msgpack
pathspec
pkgutil_resolve_name
platformdirs
pypng
referencing
rpds-py
sphinx-copybutton
sphinx-markdown-tables
sphinx-ncs-theme
sphinx-notfound-page
sphinx-togglebutton
sphinxcontrib-jquery
sphinxcontrib-plantuml