fix: remove unsupported -y flag from uv pip uninstall fallback

uv pip uninstall does not support the -y (assume-yes) flag. Remove it
from the uv fallback argv while keeping it for the python -m pip
uninstall path.

Reported-by: chengyongru
This commit is contained in:
axelray-dev authored and Xubin Ren committed 2026-06-04 19:41:51 +08:00
1 parent 6d827efb0e
commit c2e9064b35
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -843,6 +843,5 @@ def test_uninstall_uses_uv_pip_when_pip_unavailable(
"uninstall",
"--python",
sys.executable,
"-y",
"suno-cli",
]