From bc03607c43c9a5d852b4f2a20f9b946028c42de4 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Tue, 10 Oct 2023 13:44:04 -0400 Subject: [PATCH] jjb: normand: use virtualenv instead of venv Virtualenv is installed on the nodes, not venv currently. Change-Id: I2875888a792d484c8bacb5a1f94aea807c0bd949 Signed-off-by: Michael Jeanson --- scripts/normand/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/normand/build.sh b/scripts/normand/build.sh index 0714805..db3aaa2 100755 --- a/scripts/normand/build.sh +++ b/scripts/normand/build.sh @@ -12,14 +12,14 @@ if [[ -d "$VENV" ]]; then fi # Create virtual environment and enter it -python3 -m venv "$VENV" +virtualenv -p python3 "$VENV" set +u # shellcheck disable=SC1090,SC1091 . "$VENV/bin/activate" set -u # Install Poetry and pytest -pip install --quiet poetry pytest +pip install poetry pytest # Install the cloned version of Normand. # -- 2.34.1