Skip to content

Commit

Permalink
ci: Change order of input requirements files
Browse files Browse the repository at this point in the history
Order of input files matter in pip-compile-cross-platform.
The latter file has higher priority and overrides version of
package set in former file.

Signed-off-by: Jan Gałda <[email protected]>
  • Loading branch information
jangalda-nsc authored and nordicjm committed Nov 12, 2024
1 parent 279234d commit 47fe51e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validate-pip-requirements-fixed-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ jobs:
pip-compile-cross-platform==1.4.2+nordic.2 --upgrade > /dev/null 2>&1
pip-compile-cross-platform \
bootloader/mcuboot/scripts/requirements.txt \
zephyr/scripts/requirements.txt \
nrf/scripts/requirements-west-ncs-sbom.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
Expand Down
2 changes: 1 addition & 1 deletion scripts/requirements-ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ aenum
bitarray
chardet
gitlint==0.19.1
GitPython==3.1.41
GitPython
jsonschema
milksnake
py
Expand Down
2 changes: 1 addition & 1 deletion scripts/requirements-fixed.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile-cross-platform
# To update, run:
#
# 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
# pip-compile-cross-platform bootloader/mcuboot/scripts/requirements.txt zephyr/scripts/requirements.txt nrf/scripts/requirements-west-ncs-sbom.txt nrf/scripts/requirements-ci.txt nrf/scripts/requirements-extra.txt nrf/scripts/requirements.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

Expand Down

0 comments on commit 47fe51e

Please sign in to comment.