Skip to content

Commit

Permalink
uv from brew doesn't have self update
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh committed Dec 25, 2024
1 parent 14123e9 commit 2e0c91c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tools/install_python_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ cd "$ROOT"

# updating uv on macOS results in 403 sometimes
function update_uv() {
for i in $(seq 1 5);
do
if ! uv self update --help >/dev/null 2>&1; then
return 0
fi

for i in $(seq 1 5); do
if uv self update; then
return 0
else
Expand Down

0 comments on commit 2e0c91c

Please sign in to comment.