From b0de541eb719994061e6eb4a2273a103af509cc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ga=C5=82da?= Date: Tue, 5 Nov 2024 07:58:45 +0100 Subject: [PATCH] requirements: Use Nordic pip-compile-cross-platform MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .github/workflows/validate-pip-requirements-fixed-file.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate-pip-requirements-fixed-file.yml b/.github/workflows/validate-pip-requirements-fixed-file.yml index cd6c02bd4a5d..4896c2e46b2d 100644 --- a/.github/workflows/validate-pip-requirements-fixed-file.yml +++ b/.github/workflows/validate-pip-requirements-fixed-file.yml @@ -2,7 +2,7 @@ name: Validate pip requirements-fixed.txt on: pull_request: - types: [opened, synchronize, reopened] + types: [ opened, synchronize, reopened ] branches: - main - 'v*-branch' @@ -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 \