From 6fcdf60267685d7a38fb1045ff06a6ac2962d672 Mon Sep 17 00:00:00 2001 From: Alexandros Koumparoulis Date: Tue, 30 Jan 2024 07:34:37 +0000 Subject: [PATCH] Fix pip installation in jenkins; https://stackoverflow.com/questions/19548957/can-i-force-pip-to-reinstall-the-current-version Signed-off-by: Alexandros Koumparoulis --- reinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reinstall.sh b/reinstall.sh index d64b56103dd3..01bab9486cf2 100755 --- a/reinstall.sh +++ b/reinstall.sh @@ -34,7 +34,7 @@ else ${PIP} install build pytest-runner python -m build --no-isolation --wheel DIST_FILE=$(find ./dist -name "*.whl" | head -n 1) - ${PIP} install "${DIST_FILE}[all]" + ${PIP} install --force-reinstall --no-deps --no-cache-dir "${DIST_FILE}[all]" fi echo 'All done!'