From 08b2b8d755c8ac2fc91ecdb01ee82a9518d279ec Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Mon, 2 Feb 2026 17:13:45 +0100 Subject: [PATCH] fix(libbackend): do not inject --index-strategy unsafe-best-match to all Signed-off-by: Ettore Di Giacinto --- backend/python/common/libbackend.sh | 2 +- backend/python/whisperx/install.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/python/common/libbackend.sh b/backend/python/common/libbackend.sh index 423e167e1..c923c12cf 100644 --- a/backend/python/common/libbackend.sh +++ b/backend/python/common/libbackend.sh @@ -436,7 +436,7 @@ function installRequirements() { if [ "x${USE_PIP}" == "xtrue" ]; then pip install ${EXTRA_PIP_INSTALL_FLAGS:-} --requirement "${reqFile}" else - uv pip install --index-strategy unsafe-best-match ${EXTRA_PIP_INSTALL_FLAGS:-} --requirement "${reqFile}" + uv pip install ${EXTRA_PIP_INSTALL_FLAGS:-} --requirement "${reqFile}" fi echo "finished requirements install for ${reqFile}" fi diff --git a/backend/python/whisperx/install.sh b/backend/python/whisperx/install.sh index 4136d8765..9a4f7c733 100755 --- a/backend/python/whisperx/install.sh +++ b/backend/python/whisperx/install.sh @@ -8,4 +8,6 @@ else source $backend_dir/../common/libbackend.sh fi +EXTRA_PIP_INSTALL_FLAGS+=" --index-strategy unsafe-best-match" + installRequirements