1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-11-29 00:23:46 +03:00

ci: pass --break-system-packages on Debian Sid

Debian Sid python packages block users from installing packages using
pip unless using a venv. A venv has no benefit when we are running in
a throwaway container which has no need for software upgrades.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé
2023-04-19 10:27:08 +01:00
parent 664c347534
commit 62a4c1f395
3 changed files with 6 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ stages:
- ninja -C build install
- popd
- $PYTHON setup.py build
- $PYTHON -m pip install .
- $PYTHON -m pip ${PIP_INSTALL:-install} .
- $PYTHON setup.py test
- $PYTHON setup.py sdist
- if test -x /usr/bin/rpmbuild && test "$RPM" != "skip" ;
@@ -50,7 +50,7 @@ stages:
- export MAKEFLAGS="-j$(getconf _NPROCESSORS_ONLN)"
- export CFLAGS="-Werror"
- $PYTHON setup.py build
- $PYTHON -m pip install .
- $PYTHON -m pip ${PIP_INSTALL:-install} .
- $PYTHON setup.py test
- $PYTHON setup.py sdist
- if test -x /usr/bin/rpmbuild && test "$RPM" != "skip" ;

View File

@@ -113,6 +113,7 @@ x86_64-debian-sid-prebuilt-env:
allow_failure: true
variables:
NAME: debian-sid
PIP_INSTALL: install --break-system-packages
x86_64-debian-sid-local-env:
extends: .native_build_job_local_env
@@ -121,6 +122,7 @@ x86_64-debian-sid-local-env:
variables:
IMAGE: docker.io/library/debian:sid-slim
NAME: debian-sid
PIP_INSTALL: install --break-system-packages
x86_64-fedora-36-prebuilt-env:

View File

@@ -44,6 +44,8 @@ targets:
jobs:
- arch: x86_64
allow-failure: true
variables:
PIP_INSTALL: install --break-system-packages
fedora-36:
jobs: