mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Accept requirements in uv remove
(#10338)
## Summary This allows, e.g., `uv remove flask[dotenv]` to remove `flask`. Like `pip install` and `uv pip install`, the content after the package name has no effect. Closes https://github.com/astral-sh/uv/issues/9764.
This commit is contained in:
parent
788df24460
commit
0fcccb8994
4 changed files with 63 additions and 2 deletions
|
@ -3272,7 +3272,7 @@ pub struct AddArgs {
|
|||
pub struct RemoveArgs {
|
||||
/// The names of the dependencies to remove (e.g., `ruff`).
|
||||
#[arg(required = true)]
|
||||
pub packages: Vec<PackageName>,
|
||||
pub packages: Vec<Requirement<VerbatimParsedUrl>>,
|
||||
|
||||
/// Remove the packages from the development dependency group.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue