From 1fafb3f6616598e3449c02c7c52ad16317ae80b4 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 23 Sep 2025 11:39:46 +0200 Subject: [PATCH] Suppress wrong errors from uv shell integration in setup_uv (#7822) --- misc/tools.func | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/misc/tools.func b/misc/tools.func index 67aa531b2..691f1937e 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -1970,9 +1970,8 @@ function setup_uv() { export PATH="/usr/local/bin:$PATH" fi ensure_usr_local_bin_persist - if ! $STD uv python update-shell; then - msg_error "uv shell integration failed – continuing anyway" - fi + + $STD uv python update-shell >/dev/null 2>&1 || true msg_ok "Setup uv $LATEST_VERSION" # Optional: install specific Python version