astral-sh/uv

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

クローズ

#9,707 opened on 2024/12/07

 (1 件のコメント) (1 件のリアクション) (0 人の担当者)Rust (3,111 件のフォーク)batch import
error messageshelp wanted

Repository metrics

Stars
 (84,934 個のスター)
PR merge metrics
 (平均マージ 7d 16h) (30d で 259 merged PRs)

説明

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.

コントリビューターガイド