From 3735f9251bc5b04e21cebf433c99d6c5ed86f1fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Tue, 10 Feb 2026 20:54:30 +0100 Subject: [PATCH] Fix setuptools (#11772) --- install/libretranslate-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/libretranslate-install.sh b/install/libretranslate-install.sh index aa184f429..469556586 100644 --- a/install/libretranslate-install.sh +++ b/install/libretranslate-install.sh @@ -45,7 +45,8 @@ fi cd /opt/libretranslate $STD uv venv --clear .venv --python 3.12 $STD source .venv/bin/activate -$STD uv pip install --upgrade pip setuptools +$STD uv pip install --upgrade pip +$STD uv pip install "setuptools<81" $STD uv pip install Babel==2.12.1 $STD .venv/bin/python scripts/compile_locales.py $STD uv pip install "torch==${TORCH_VERSION}" --extra-index-url https://download.pytorch.org/whl/cpu