summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2021-12-14 07:07:17 -0800
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2021-12-14 07:07:17 -0800
commit3184d7a066f7992047bf3306ae5608af203a2613 (patch)
tree8ed5780266600ed27363388f41d02fe11fd55d3a
parent7465ab429f1836441b60960e081c5433bfd48512 (diff)
Correct Python invocation in Releng release jobs
Change-Id: I13db6409c18923cf9aebf230547382cdc97480db Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
-rw-r--r--jjb/releng/releng-release-create-venv.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/jjb/releng/releng-release-create-venv.sh b/jjb/releng/releng-release-create-venv.sh
index 7b567a34a..508f78324 100644
--- a/jjb/releng/releng-release-create-venv.sh
+++ b/jjb/releng/releng-release-create-venv.sh
@@ -11,9 +11,9 @@ set -e -o pipefail
echo "---> Create virtualenv"
sudo -H pip3 install virtualenv
-virtualenv -p python3 $WORKSPACE/venv
+python3 -m venv -p python3 $WORKSPACE/venv
# shellcheck source=$WORKSPACE/venv/bin/activate disable=SC1091
source $WORKSPACE/venv/bin/activate
-pip install --upgrade pip
-pip install -r releases/scripts/requirements.txt
+python3 -m pip install --upgrade pip
+python3 -m pip install -r releases/scripts/requirements.txt