-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionalityneeds-decisionUndecided if this should be doneUndecided if this should be done
Description
Summary
I currently use workspaces to manage a mono-repo structure, but I would like to keep all my linting/test tools in the root project.
In my CI/CD I would like to only install the dependencies of one workspace AND the root workspace. Currently, however, it seems to only be possible to either install ALL workspaces or only one.
Would it be possible to allow for multiple --package flags in the uv sync command?
Example
monorepo
|-- repo_1
| |-- pyproject.toml
|-- repo_2
| |-- pyproject.toml
|-- pyproject.toml
|-- uv.lock
To only install root dependencies and dependencies for repo_2 one could call
uv sync --package monorepo --package repo_2
gschaffner and dmitry-cogna
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionalityneeds-decisionUndecided if this should be doneUndecided if this should be done