astral-sh/uv

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

Open

#11.273 aperta il 6 feb 2025

Vedi su GitHub
 (15 commenti) (24 reazioni) (0 assegnatari)Rust (3111 fork)batch import
configurationenhancementgood first issue

Metriche repository

Star
 (84.934 star)
Metriche merge PR
 (Merge medio 7g 16h) (259 PR mergiate in 30 g)

Descrizione

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

Guida contributor