From: Nick Porter Date: Thu, 3 Oct 2024 18:47:32 +0000 (+0100) Subject: Use a Python virtual env X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df26eeb0d7caf99496c70aae62a720fa18bd341e;p=thirdparty%2Ffreeradius-server.git Use a Python virtual env Ubuntu 24 really doesn't like running pip as root --- diff --git a/.github/workflows/ci-scheduled-fuzzing.yml b/.github/workflows/ci-scheduled-fuzzing.yml index 78625faab13..8144008cdf7 100644 --- a/.github/workflows/ci-scheduled-fuzzing.yml +++ b/.github/workflows/ci-scheduled-fuzzing.yml @@ -273,7 +273,10 @@ jobs: run: | export FILE=src/tests/fuzzer-corpus/$PROTOCOL.tar if ! git diff --exit-code "$FILE"; then - sudo pip3 install --force-reinstall -I -U pyOpenSSL + sudo apt-get install -y python3-venv + python3 -m venv ~/.venv + . ~/.venv/bin/activate + pip install --force-reinstall -I -U pyOpenSSL pip install PyGithub git add "$FILE" OID="$(git lfs ls-files -l -I "$FILE" | cut -f1 -d ' ')"