Skip to content

Commit

Permalink
requirements: Use Nordic pip-compile-cross-platform
Browse files Browse the repository at this point in the history
Nordic version of pip-compile-cross-platform adds support for
propagating extra-index-urls entries to requirements-fixed.txt

Signed-off-by: Jan Gałda <[email protected]>
Signed-off-by: Andrzej Puzdrowski <[email protected]>
  • Loading branch information
jangalda-nsc authored and nvlsianpu committed Nov 5, 2024
1 parent 357dc2e commit 85d7427
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/validate-pip-requirements-fixed-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ jobs:
mkvirtualenv pip-fixed-venv > /dev/null 2>&1 || true
workon pip-fixed-venv > /dev/null 2>&1
pip3 install pip-compile-cross-platform==1.4.2 --upgrade > /dev/null 2>&1
pip3 install \
--extra-index-url https://files.nordicsemi.com/artifactory/api/pypi/nordic-pypi/simple \
pip-compile-cross-platform==1.4.2+nordic --upgrade > /dev/null 2>&1
pip-compile-cross-platform \
bootloader/mcuboot/scripts/requirements.txt \
nrf/scripts/requirements-ci.txt \
Expand Down
8 changes: 7 additions & 1 deletion scripts/requirements-fixed.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#
# pip-compile-cross-platform bootloader/mcuboot/scripts/requirements.txt nrf/scripts/requirements-ci.txt nrf/scripts/requirements-extra.txt nrf/scripts/requirements.txt zephyr/scripts/requirements.txt nrf/scripts/requirements-west-ncs-sbom.txt --output-file nrf/scripts/requirements-fixed.txt --min-python-version 3.10
#
--extra-index-url https://files.nordicsemi.com/artifactory/api/pypi/nordic-pypi/simple

aenum==3.1.15 ; python_version >= "3.10" and python_version < "4.0"
anytree==2.12.1 ; python_version >= "3.10" and python_version < "4"
appdirs==1.4.4 ; python_version >= "3.10" and python_version < "4.0"
Expand Down Expand Up @@ -99,13 +101,14 @@ natsort==8.4.0 ; python_version >= "3.10" and python_version < "4.0"
normality==2.5.0 ; python_version >= "3.10" and python_version < "4.0" and platform_machine == "x86_64"
nrf-regtool==7.0.0 ; python_version >= "3.10" and python_version < "4.0"
nrfcredstore==1.0.0 ; python_version >= "3.10" and python_version < "4.0"
nrfprovision==0.9.0 ; python_version >= "3.10" and python_version < "4.0"
numpy==1.26.4 ; python_version >= "3.10" and python_version < "4.0"
packageurl-python==0.16.0 ; python_version >= "3.10" and python_version < "4.0" and platform_machine == "x86_64"
packaging==24.1 ; python_version >= "3.10" and python_version < "4.0"
packvers==21.5 ; python_version >= "3.10" and python_version < "4.0" and platform_machine == "x86_64"
parameter-expansion-patched==0.3.1 ; python_version >= "3.10" and python_version < "4.0" and platform_machine == "x86_64"
pathspec==0.11.2 ; python_version >= "3.10" and python_version < "4.0"
patool==3.0.2 ; python_version >= "3.10" and python_version < "4.0"
patool==3.0.3 ; python_version >= "3.10" and python_version < "4.0"
pdfminer-six==20240706 ; python_version >= "3.10" and python_version < "4.0" and platform_machine == "x86_64"
pefile==2024.8.26 ; python_version >= "3.10" and python_version < "4.0" and platform_machine == "x86_64"
pillow==10.3.0 ; python_version >= "3.10" and python_version < "4.0"
Expand All @@ -125,6 +128,7 @@ publicsuffix2==2.20191221 ; python_version >= "3.10" and python_version < "4.0"
py==1.11.0 ; python_version >= "3.10" and python_version < "4.0"
pyahocorasick==2.1.0 ; python_version >= "3.10" and python_version < "4.0" and platform_machine == "x86_64"
pycparser==2.21 ; python_version >= "3.10" and python_version < "4.0"
pycryptodome==3.21.0 ; python_version >= "3.10" and python_version < "4.0"
pyelftools==0.30 ; python_version >= "3.10" and python_version < "4.0"
pygit2==1.15.0 ; python_version >= "3.10" and python_version < "4.0"
pygithub==2.4.0 ; python_version >= "3.10" and python_version < "4.0"
Expand All @@ -136,6 +140,7 @@ pylink-square==1.3.0 ; python_version >= "3.10" and python_version < "4.0"
pylint==3.0.2 ; python_version >= "3.10" and python_version < "4.0"
pymaven-patch==0.3.2 ; python_version >= "3.10" and python_version < "4.0" and platform_machine == "x86_64"
pynacl==1.5.0 ; python_version >= "3.10" and python_version < "4.0"
pynrfjprog==10.24.2 ; python_version >= "3.10" and python_version < "4.0"
pyocd==0.35.1 ; python_version >= "3.10" and python_version < "4.0"
pyparsing==3.2.0 ; python_version >= "3.10" and python_version < "4.0"
pyserial==3.5 ; python_version >= "3.10" and python_version < "4.0"
Expand Down Expand Up @@ -175,6 +180,7 @@ svada==2.0.0 ; python_version >= "3.10" and python_version < "4.0"
tabulate==0.9.0 ; python_version >= "3.10" and python_version < "4.0"
text-unidecode==1.3 ; python_version >= "3.10" and python_version < "4.0" and platform_machine == "x86_64"
toml==0.10.2 ; python_version >= "3.10" and python_version < "4.0"
tomli-w==1.1.0 ; python_version >= "3.10" and python_version < "4.0"
tomli==2.0.1 ; python_version >= "3.10" and python_version < "4.0"
tomlkit==0.12.1 ; python_version >= "3.10" and python_version < "4.0"
typecode-libmagic==5.39.210531 ; python_version >= "3.10" and python_version < "4.0" and platform_machine == "x86_64"
Expand Down

0 comments on commit 85d7427

Please sign in to comment.