astral-sh/uv

`uv python find` does not respect `--project`

Open

#11,990 opened on 2025年3月5日

GitHub で見る
 (10 comments) (0 reactions) (0 assignees)Rust (3,111 forks)batch import
buggood first issue

Repository metrics

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

説明

Summary

❯ uv init example
❯ cd example
❯ uv sync
❯ uv python find
/Users/zb/workspace/uv/example/.venv/bin/python3
❯ cd ..
❯ uv python find
/Users/zb/.local/share/uv/python/cpython-3.13.0-macos-aarch64-none/bin/python3.13
❯ uv python find --project example
/Users/zb/.local/share/uv/python/cpython-3.13.0-macos-aarch64-none/bin/python3.13

This should discover the project environment

Platform

n/a

Version

0.6.4 (04db70662 2025-03-03)

Python version

n/a

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