mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-29 03:02:55 +00:00
Avoid updating incorrect dependencies for sorted uv add (#6939)
## Summary The indexes stored in the edits is wrong now that we add dependencies out-of-order. Closes https://github.com/astral-sh/uv/issues/6933.
This commit is contained in:
parent
42a4d80a63
commit
cbe2827e97
4 changed files with 52 additions and 14 deletions
|
|
@ -486,7 +486,7 @@ impl Source {
|
|||
}
|
||||
|
||||
/// The type of a dependency in a `pyproject.toml`.
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub enum DependencyType {
|
||||
/// A dependency in `project.dependencies`.
|
||||
Production,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue