astral-sh/uv

Improve display of executable install errors during `uv python install`

Chiusa

#9707 aperta il 7 dic 2024

 (1 commento) (1 reazione) (0 assegnatari)Rust (3111 fork)batch import
error messageshelp wanted

Metriche repository

Star
 (84.934 stelle)
Metriche merge PR
 (Merge medio 7g 16h) (259 PR mergiate in 30 g)

Descrizione

e.g.,

error: Failed to install cpython-3.13.0-macos-aarch64-none
  Caused by: Executable already exists at `/Users/zb/.local/bin/python3` but is not managed by uv; use `--force` to replace it
error: Failed to install cpython-3.13.0-macos-aarch64-none
  Caused by: Executable already exists at `/Users/zb/.local/bin/python` but is not managed by uv; use `--force` to replace it

we show ~the same message twice. It'd be nice to group these.

Guida contributor