Skip to content

Commit 4947aa4

Browse files
committed
bundle: Use Nordic's PYPI to install pip requirements
While building toolchain bundle install pip requirements from files.notdicsemi.com Signed-off-by: Jan Gałda <jan.galda@nordicsemi.no>
1 parent 52c415c commit 4947aa4

File tree

3 files changed

+200
-201
lines changed

3 files changed

+200
-201
lines changed

.github/workflows/validate-pip-requirements-fixed-file.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ jobs:
6161
workon pip-fixed-venv > /dev/null 2>&1
6262
6363
pip3 install \
64-
--extra-index-url https://files.nordicsemi.com/artifactory/api/pypi/nordic-pypi/simple \
65-
pip-compile-cross-platform==1.4.2+nordic.2 --upgrade > /dev/null 2>&1
64+
--index-url https://files.nordicsemi.com/artifactory/api/pypi/nordic-pypi/simple \
65+
pip-compile-cross-platform==1.4.2+nordic.3 --upgrade > /dev/null 2>&1
6666
pip-compile-cross-platform \
6767
bootloader/mcuboot/scripts/requirements.txt \
6868
zephyr/scripts/requirements.txt \
@@ -71,7 +71,8 @@ jobs:
7171
nrf/scripts/requirements-extra.txt \
7272
nrf/scripts/requirements.txt \
7373
--output-file nrf/scripts/requirements-fixed.txt \
74-
--min-python-version 3.10
74+
--min-python-version 3.12 \
75+
--index-url https://files.nordicsemi.com/artifactory/api/pypi/nordic-pypi/simple
7576
7677
deactivate
7778
rmvirtualenv pip-fixed-venv

scripts/requirements-extra.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
--index-url https://files.nordicsemi.com/artifactory/api/pypi/nordic-pypi/simple
2+
13
pygit2>=1.15.0
24
Pillow>=10.3.0 # https://github.com/advisories/GHSA-44wm-f244-xhp3
35
editdistance>=0.5.0
@@ -7,5 +9,4 @@ zcbor>=0.8.0
79
nrfcredstore>=1.0.0,<2
810
idna>=3.7 # https://github.com/advisories/GHSA-jjg7-2v4v-x38h
911
libusb>=1.0.26
10-
--extra-index-url https://files.nordicsemi.com/artifactory/api/pypi/nordic-pypi/simple
1112
nrfprovision>=0.9.0

0 commit comments

Comments
 (0)