diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2023-04-19 10:27:08 +0100 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2023-04-19 11:32:03 +0100 |
commit | 62a4c1f395eebb3d693df35514eabd6580bd0bdb (patch) | |
tree | 55050f7f32b19a13493f9b6ecb95ff642e457411 /.gitlab-ci.yml | |
parent | 664c347534c093dd541f60affd30bc1c4572d776 (diff) | |
download | libvirt-python-62a4c1f395eebb3d693df35514eabd6580bd0bdb.tar.gz |
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>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d97d5e0..f2518bb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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" ; |