From 743730a83b8a5390b1668e0b432ad9b4deb06483 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Mon, 26 Feb 2024 11:25:09 +0100 Subject: [PATCH] ci: cirrus: Use --break-system-packages with 'pip install' Cirrus tests on macos started to fail when installing 'pytest'. Override the pip lock. Signed-off-by: Peter Krempa --- ci/cirrus/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/cirrus/build.yml b/ci/cirrus/build.yml index 60ac90eee0..0ae5c2ce64 100644 --- a/ci/cirrus/build.yml +++ b/ci/cirrus/build.yml @@ -18,7 +18,7 @@ build_task: - @UPDATE_COMMAND@ - @UPGRADE_COMMAND@ - @INSTALL_COMMAND@ @PKGS@ - - if test -n "@PYPI_PKGS@" ; then @PIP3@ install @PYPI_PKGS@ ; fi + - if test -n "@PYPI_PKGS@" ; then @PIP3@ install --break-system-packages @PYPI_PKGS@ ; fi clone_script: - git clone --depth 100 "$CI_REPOSITORY_URL" . - git fetch origin "${CI_MERGE_REQUEST_REF_PATH:-$CI_COMMIT_REF_NAME}"