From 68a85c43b0230316b0dca50481ad1554ec6f810e Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 15 Oct 2024 22:44:07 +0200 Subject: [PATCH] build: use environment variables to configure pip Otherwise, it may or may not work depending on the version of pip... --- tests/ci/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5