mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-17 10:30:31 +01:00
gitlab-ci: pass --break-system-packages to pip3 for the meson install
pip on Debian 12 semi-forces us to use a venv. That's hard enough but
even more so when we just want to run meson which only relies on the
standard library anyway.
Since that flag doesn't exist on earlier versions, try both and hope one
invocation succeeds.
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1595
(cherry picked from commit aa74fec602)
This commit is contained in:
parent
bea1e1eb85
commit
f253ae2276
2 changed files with 4 additions and 3 deletions
|
|
@ -54,8 +54,8 @@ variables:
|
|||
# This is done by running `ci-fairy generate-template` and possibly bumping
|
||||
# ".default_tag".
|
||||
FEDORA_TAG: '2023-01-18.0-81a15acb09ec'
|
||||
UBUNTU_TAG: '2023-01-18.0-1218be1cbc9d'
|
||||
DEBIAN_TAG: '2023-01-18.0-1218be1cbc9d'
|
||||
UBUNTU_TAG: '2023-01-18.0-b674114b79c1'
|
||||
DEBIAN_TAG: '2023-01-18.0-b674114b79c1'
|
||||
CENTOS_TAG: '2023-01-18.0-81a15acb09ec'
|
||||
ALPINE_TAG: '2023-01-18.0-14c807942fa4'
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,8 @@ dbus-uuidgen --ensure
|
|||
sed -i 's/^# \(pl_PL.UTF-8 .*\)$/\1/p' /etc/locale.gen || true
|
||||
locale-gen pl_PL.UTF-8
|
||||
|
||||
pip3 install meson
|
||||
# Debian 12 and later requires --break-system-packages
|
||||
pip3 install meson || pip3 install --break-system-packages meson
|
||||
|
||||
# iproute2 5.2.0 on debian:sid causes our unit tests to fail.
|
||||
# Downgrade to a working version. See https://www.spinics.net/lists/netdev/msg584916.html
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue