astral-sh/uv

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

Open

#9,707 opened on Dec 7, 2024

View on GitHub
 (1 comment) (1 reaction) (0 assignees)Rust (84,934 stars) (3,111 forks)batch import
error messageshelp wanted

Description

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.

Contributor guide

Improve display of executable install errors during `uv python install` · astral-sh/uv#9707 | Good First Issue