From 550f9192ae4e5c4dd486ba08738ecee322929fce Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Tue, 28 Feb 2023 22:24:42 +0530 Subject: [PATCH] ci: Force pip to install packages to system environment Without the change, pip refuses to install into system environment due to changes outlined in PEP 668. The following error is thrown: 'error: externally-managed-environment'. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- .ci/Dockerfile.gitlabci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/Dockerfile.gitlabci b/.ci/Dockerfile.gitlabci index 0e22916a6..e89f81c2f 100644 --- a/.ci/Dockerfile.gitlabci +++ b/.ci/Dockerfile.gitlabci @@ -25,4 +25,4 @@ RUN apt-get install -y build-essential \ RUN apt-get install -y $(./run --list-dependencies) # Coverage should know that test_functional.py files are tests -RUN pip3 install splinter pytest-bdd +RUN pip3 install --break-system-packages splinter pytest-bdd