From 7b7fc24032f2f8a914792c4bd861a5c9520bcde4 Mon Sep 17 00:00:00 2001 From: Szymon Szyszkowski Date: Tue, 1 Oct 2024 15:27:33 +0100 Subject: [PATCH] feat: force reinstallation of the gentropy on the cluster --- utils/install_dependencies_on_cluster.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/install_dependencies_on_cluster.sh b/utils/install_dependencies_on_cluster.sh index 6b76a7d60..b0a165c04 100644 --- a/utils/install_dependencies_on_cluster.sh +++ b/utils/install_dependencies_on_cluster.sh @@ -60,7 +60,9 @@ function main() { echo "Uninstalling previous version if it exists" pip uninstall -y gentropy echo "Install package..." - run_with_retry pip install --upgrade ${PACKAGENAME} + # NOTE: ensure the gentropy is reinstalled each time without version cache + # see https://pip.pypa.io/en/stable/cli/pip_install/#cmdoption-force-reinstall + run_with_retry pip install --force-reinstall ${PACKAGENAME} }