✨ feat(lock): add only_groups config for uv sync#293
Merged
gaborbernat merged 1 commit intotox-dev:mainfrom Feb 23, 2026
Merged
✨ feat(lock): add only_groups config for uv sync#293gaborbernat merged 1 commit intotox-dev:mainfrom
gaborbernat merged 1 commit intotox-dev:mainfrom
Conversation
5e1dc9b to
ed1fdb0
Compare
Users who need to install a single dependency group in isolation (e.g. CI tooling from a private index) had to use `uv_sync_flags` with `--only-group` as a workaround. This adds a first-class `only_groups` config that maps directly to `uv sync --only-group`. Closes tox-dev#267
ed1fdb0 to
8aa2085
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Users who need to install a single dependency group in isolation -- for example, CI tooling from a private index without pulling in the project or its other dependencies -- had to resort to
uv_sync_flags = --only-group,my-groupas a workaround. This works but is non-obvious and mixes flag-level details into the tox config.This adds a first-class
only_groupsconfig for the lock runner that maps directly touv sync --only-group. It follows the same pattern as the existingdependency_groupsconfig: accepts a set of group names and emits--only-group <name>flags for each.Closes #267