From 00a9d3920ddb93e6da6eef41bd321b40b61e68e5 Mon Sep 17 00:00:00 2001
From: Konrad Botor <kbotor@syncad.com>
Date: Mon, 31 Mar 2025 15:10:55 +0200
Subject: [PATCH] Update 4

---
 scripts/maintenance-scripts/run_haf_system_tests.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/maintenance-scripts/run_haf_system_tests.sh b/scripts/maintenance-scripts/run_haf_system_tests.sh
index 913b78008..a5b872d8c 100755
--- a/scripts/maintenance-scripts/run_haf_system_tests.sh
+++ b/scripts/maintenance-scripts/run_haf_system_tests.sh
@@ -3,9 +3,6 @@ set -xeuo pipefail
 
 sudo apt-get update
 sudo apt-get install -y git python3 python3-venv python3-pip
-python3 -m pip install --user pipx
-python3 -m pipx ensurepath
-pipx install poetry
 
 SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
 SCRIPTSDIR="$SCRIPTPATH/.."
@@ -34,6 +31,9 @@ echo -e "\e[0Ksection_start:$(date +%s):python_venv[collapsed=true]\r\e[0KCreati
 python3 -m venv --system-site-packages venv/
 # shellcheck disable=SC1091
 . venv/bin/activate
+python3 -m pip install --user pipx
+python3 -m pipx ensurepath
+pipx install poetry
 (cd "${REPO_DIR}/tests/integration/haf-local-tools" && poetry install)
 echo -e "\e[0Ksection_end:$(date +%s):python_venv\r\e[0K"
 
-- 
GitLab