From a74f79421360b62840624bb84215981b51c6858d Mon Sep 17 00:00:00 2001 From: Maxime Desroches Date: Thu, 27 Jun 2024 17:47:13 -0700 Subject: [PATCH] uv: don't use cache (#32854) * no cache * update --- tools/install_python_dependencies.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/install_python_dependencies.sh b/tools/install_python_dependencies.sh index e6c8d5df82..0a8275d50c 100755 --- a/tools/install_python_dependencies.sh +++ b/tools/install_python_dependencies.sh @@ -16,8 +16,12 @@ if ! command -v "uv" > /dev/null 2>&1; then eval $ADD_PATH_CMD fi +echo "updating uv..." +uv self update + +# TODO: remove --no-cache once this is fixed: https://github.com/astral-sh/uv/issues/4378 echo "installing python packages..." -uv sync --all-extras +uv --no-cache sync --all-extras source .venv/bin/activate echo "PYTHONPATH=${PWD}" > $ROOT/.env