commit 141c8df513956b5928ba625dfdb984218b32093a
parent d4b652ffe4f515fcd0a66fb2b60c9f7851b6a079
Author: Alexander Hansen Færøy <ahf@torproject.org>
Date: Tue, 18 Mar 2025 14:25:41 +0100
CI: Use local pip instead of python3-pip.
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
@@ -116,10 +116,8 @@ variables:
git clone --shallow-since "$CHUTNEY_SHALLOW_SINCE" https://gitlab.torproject.org/tpo/core/chutney.git
git -C ./chutney checkout "$CHUTNEY_COMMIT"
export CHUTNEY_PATH="$(pwd)/chutney"
- # Have pip install chutney's python dependencies by installing chutney
- # itself.
- apt-get install python3-pip
- pip3 install --user ./chutney
+ python3 -m venv venv
+ venv/bin/pip install --user ./chutney
fi
- if [ "$TRACING" = yes ]; then apt install liblttng-ust-dev; fi