]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
ci: cirrus: Use --break-system-packages with 'pip install'
authorPeter Krempa <pkrempa@redhat.com>
Mon, 26 Feb 2024 10:25:09 +0000 (11:25 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 26 Feb 2024 10:25:09 +0000 (11:25 +0100)
Cirrus tests on macos started to fail when installing 'pytest'. Override
the pip lock.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
ci/cirrus/build.yml

index 60ac90eee08ebabe04b04570ac87cd81229b5c5a..0ae5c2ce640db47de7ae37b826c51be37efc3f34 100644 (file)
@@ -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}"