mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Add --group
support to uv add
and uv remove
(#8108)
Part of #8090 Adds the ability to add and remove dependencies from arbitrary groups using `uv add` and `uv remove`. Does not include resolving with the new dependencies — tackling that in #8110. Additionally, this does not yet resolve interactions with the existing `dev` group — we'll tackle that separately as well. I probably won't merge the stack until that design is resolved.
This commit is contained in:
parent
3c9d783e09
commit
4c0590ff6f
22 changed files with 653 additions and 124 deletions
|
@ -580,7 +580,7 @@ impl Lock {
|
|||
marker_env: &ResolverMarkerEnvironment,
|
||||
tags: &Tags,
|
||||
extras: &ExtrasSpecification,
|
||||
dev: DevSpecification<'_>,
|
||||
dev: &DevSpecification,
|
||||
build_options: &BuildOptions,
|
||||
install_options: &InstallOptions,
|
||||
) -> Result<Resolution, LockError> {
|
||||
|
|
|
@ -43,7 +43,7 @@ impl<'lock> RequirementsTxtExport<'lock> {
|
|||
lock: &'lock Lock,
|
||||
root_name: &PackageName,
|
||||
extras: &ExtrasSpecification,
|
||||
dev: DevSpecification<'_>,
|
||||
dev: &DevSpecification,
|
||||
editable: EditableMode,
|
||||
hashes: bool,
|
||||
install_options: &'lock InstallOptions,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue