-
Notifications
You must be signed in to change notification settings - Fork 772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add --all-group
option to uv sync
#8594
Comments
Sure, we could add |
The |
We probably won't support multiple groups in a single option, that doesn't match the design of the rest of our CLI. |
Though it's not completely portable, you can use brace expansion in many Unix shells (Bash, Zsh, Ksh, Fish, etc.) to get the desired behavior because the
with output:
|
Groups can also include each other, so you can add a group that includes all other groups, if you want to. |
The PEP has the syntax for group inclusion here https://peps.python.org/pep-0735/#dependency-group-include |
Just referencing here that I temporally solved this issue by defining default groups: # pyproject.toml
[tool.uv]
default-groups = ["lint", "docs"] This makes the |
@zanieb In line with the above comment, I also can't find a way to only install the project-level dependencies (those under For example, Poetry achieves this behavior by using the My workaround for achieving both behaviors (sync with default groups and sync only main) is creating a Edit: This seems loosely related to #8582 |
@amoralesc it seems like we might want a |
`uv` does not yet support running sync for all groups. We need to specify each group manually. These scripts are a temporary workaround until the corresponding feature is implemented in `uv`. astral-sh/uv#8594
`uv` does not yet support running sync for all groups. We need to specify each group manually. These scripts are a temporary workaround until the corresponding feature is implemented in `uv`. astral-sh/uv#8594
`uv` does not yet support running sync for all groups. We need to specify each group manually. These scripts are a temporary workaround until the corresponding feature is implemented in `uv`. astral-sh/uv#8594
`uv` does not yet support running sync for all groups. We need to specify each group manually. These scripts are a temporary workaround until the corresponding feature is implemented in `uv`. astral-sh/uv#8594
`uv` does not yet support running sync for all groups. We need to specify each group manually. These scripts are a temporary workaround until the corresponding feature is implemented in `uv`. astral-sh/uv#8594
When installing multiple dependency groups you need to specify
--group
multiple times, which can be annoying if you want to install many dependency groups at the same timeAlso
--all-group
should be able to be used in conjunction with--no-group
in case you don't want to actually install all the dependencies.The text was updated successfully, but these errors were encountered: