[PATCH pushed] ci: cirrus: Use --break-system-packages with 'pip install'

Peter Krempa posted 1 patch 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/743730a83b8a5390b1668e0b432ad9b4deb06483.1708945544.git.pkrempa@redhat.com
ci/cirrus/build.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH pushed] ci: cirrus: Use --break-system-packages with 'pip install'
Posted by Peter Krempa 2 months ago
Cirrus tests on macos started to fail when installing 'pytest'. Override
the pip lock.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---

Pushed as CI fix:
https://gitlab.com/pipo.sk/libvirt/-/jobs/6255978961
https://gitlab.com/pipo.sk/libvirt/-/jobs/6255978962

 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}"
-- 
2.43.0
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org