]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
CI: Use local pip instead of python3-pip.
authorAlexander Hansen Færøy <ahf@torproject.org>
Tue, 18 Mar 2025 13:25:41 +0000 (14:25 +0100)
committerAlexander Hansen Færøy <ahf@torproject.org>
Wed, 19 Mar 2025 18:29:14 +0000 (19:29 +0100)
.gitlab-ci.yml

index 4326866c6c9ef26d678605a97209e7327e40becb..a1c9b26149a2c2ad7ebf759122f8f533ce2ad5fd 100644 (file)
@@ -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