From: Peter Krempa Date: Mon, 26 Feb 2024 10:25:09 +0000 (+0100) Subject: ci: cirrus: Use --break-system-packages with 'pip install' X-Git-Tag: v10.1.0-rc1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=743730a83b8a5390b1668e0b432ad9b4deb06483;p=thirdparty%2Flibvirt.git 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 --- 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}"