From 7465ab429f1836441b60960e081c5433bfd48512 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Tue, 14 Dec 2021 06:44:25 -0800 Subject: [PATCH] Fix Releng release job virtuenv creations This script should be more explicit in specifying pip3, and not specify the path to python3. Change-Id: I853b0f6fff8950bc729167a18f98bea591a083f0 Signed-off-by: Trevor Bramwell --- jjb/releng/releng-release-create-venv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jjb/releng/releng-release-create-venv.sh b/jjb/releng/releng-release-create-venv.sh index 0200376a7..7b567a34a 100644 --- a/jjb/releng/releng-release-create-venv.sh +++ b/jjb/releng/releng-release-create-venv.sh @@ -10,8 +10,8 @@ set -e -o pipefail echo "---> Create virtualenv" -sudo -H pip install virtualenv -virtualenv -p /usr/bin/python3 $WORKSPACE/venv +sudo -H pip3 install virtualenv +virtualenv -p python3 $WORKSPACE/venv # shellcheck source=$WORKSPACE/venv/bin/activate disable=SC1091 source $WORKSPACE/venv/bin/activate -- 2.16.6