astral-sh/uv

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

Open

#14,483 创建于 2025年7月7日

在 GitHub 查看
 (2 评论) (2 反应) (1 负责人)Rust (3,111 fork)batch import
enhancementhelp wanted

仓库指标

Star
 (84,934 star)
PR 合并指标
 (平均合并 6天 16小时) (30 天内合并 222 个 PR)

描述

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

贡献者指南