astral-sh/uv

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

Open

#14,483 opened on 2025年7月7日

GitHub で見る
 (2 comments) (2 reactions) (1 assignee)Rust (3,111 forks)batch import
enhancementhelp wanted

Repository metrics

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

説明

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

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