Add uv sync --no-install-package to skip installation of specific packages (#6540)

Extends #6538 / #6539
See #4028

Allows excluding arbitrary packages from the sync.
This commit is contained in:
Zanie Blue 2024-08-23 15:48:04 -05:00 committed by GitHub
parent ca50243174
commit d1cbcb30e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 109 additions and 7 deletions

View file

@ -219,5 +219,7 @@ RUN uv sync --frozen
!!! tip
If you're using a [workspace](../../concepts/workspaces.md), then consider the
If you're using a [workspace](../../concepts/workspaces.md), then use the
`--no-install-workspace` flag which excludes the project _and_ any workspace members.
If you want to remove specific packages from the sync, use `--no-install-package <name>`.