Skip to content

Commit

Permalink
[nrfconnect] Fixed Python requirements for factory data generation (#…
Browse files Browse the repository at this point in the history
…33980)

* [nrfconnect] Fixed Python requirements for factory data generation

Recently the SetupPayload module has started utilizing `concrete`
package. As a result, it has became an indirect dependency of
implementation of the nrfconnect factory data generation.

Forward the `setup_payload/python/requirements.txt` to the nrfconnect
specific requirements as a fix.

Signed-off-by: Marcin Kajor <[email protected]>

* Fix setup_payload requirements path in build.yaml

---------

Signed-off-by: Marcin Kajor <[email protected]>
Co-authored-by: Damian Krolik <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Jul 19, 2024
1 parent 216e8dc commit 2307896
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ jobs:
scripts/run_in_build_env.sh 'scripts/examples/gn_build_example.sh examples/chip-tool out/'
scripts/run_in_build_env.sh 'virtualenv pyenv'
source pyenv/bin/activate
pip3 install -r src/setup_payload/python/requirements.txt
pip3 install -r scripts/setup/requirements.setuppayload.txt
python3 src/setup_payload/tests/run_python_setup_payload_test.py out/chip-tool
build_linux_python_lighting_device:
Expand Down
3 changes: 2 additions & 1 deletion scripts/setup/requirements.nrfconnect.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
-r requirements.setuppayload.txt

jsonschema>=4.4.0
cbor2>=5.4.3
ecdsa>=0.18.0
qrcode==7.4.2
bitarray==2.6.0
python_stdnum==1.18
File renamed without changes.

0 comments on commit 2307896

Please sign in to comment.