astral-sh/uv

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

已关闭

#9,707 创建于 2024年12月7日

 (1 条评论) (1 个反应) (0 位负责人)Rust (3,111 个派生)batch import
error messageshelp wanted

仓库指标

星标
 (84,934 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南