astral-sh/uv

Add environment variable to always use `--active` flag

Open

#11,273 opened on 2025年2月6日

GitHub で見る
 (15 comments) (24 reactions) (0 assignees)Rust (3,111 forks)batch import
configurationenhancementgood first issue

Repository metrics

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

説明

Summary

The new --active flag (#11189) is a great addition and I think it goes some way to allow uv and pyenv to work better together (see #6204).

Would it be possible to add a new environment variable to make that flag the default? For example, the PR suggested something like UV_PROJECT_ENVIRONMENT=ACTIVE but could also be UV_ACTIVE=1. Or maybe this already works? If so, it's not clear from the documentation.

Example

No response

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