astral-sh/uv

Support `--all-groups` for `uv pip install`

Aperta

#14.483 aperta il 7 lug 2025

 (2 commenti) (2 reazioni) (1 assegnatario)Rust (3111 fork)batch import
enhancementhelp wanted

Metriche repository

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

Descrizione

Summary

Support --all-groups for uv pip install just like with uv sync. Right now, all groups need to be manually provided. This is overly verbose while there is already precedent for an --all-groups argument.

Could not find any related issues in the issue tracker with search uv pip install all-groups: https://github.com/astral-sh/uv/issues?q=is%3Aissue%20%20sort%3Arelevance-desc%20uv%20pip%20install%20all-groups

Example

Instead of:

uv pip install -r pyproject.toml --all-extras --group=dev --group=lint --strict

one would use

uv pip install -r pyproject.toml --all-extras --all-groups --strict

Guida contributor