From: Vincent Bernat Date: Tue, 15 Oct 2024 20:44:07 +0000 (+0200) Subject: build: use environment variables to configure pip X-Git-Tag: 1.0.19~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=68a85c43b0230316b0dca50481ad1554ec6f810e;p=thirdparty%2Flldpd.git build: use environment variables to configure pip Otherwise, it may or may not work depending on the version of pip... --- diff --git a/tests/ci/install.sh b/tests/ci/install.sh index 3c15b70f..67e93a3e 100755 --- a/tests/ci/install.sh +++ b/tests/ci/install.sh @@ -43,6 +43,7 @@ EOS snmpd snmp \ python3-pip python3-setuptools python3-wheel # For integration tests - sudo -H $(which python3) -m pip install -r tests/integration/requirements.txt --break-system-packages + sudo -H env PIP_BREAK_SYSTEM_PACKAGES=1 \ + $(which python3) -m pip install -r tests/integration/requirements.txt ;; esac