You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/uv-resolver/src/error.rs
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -55,9 +55,6 @@ pub enum ResolveError {
55
55
#[error("There are conflicting local versions requested for package `{0}`: {1} vs. {2}")]
56
56
ConflictingLocal(PackageName,String,String),
57
57
58
-
#[error("There are conflicting versions for `{0}`: {1}")]
59
-
ConflictingVersions(String,String),
60
-
61
58
#[error("Package `{0}` attempted to resolve via URL: {1}. URL dependencies must be expressed as direct requirements or constraints. Consider adding `{0} @ {1}` to your dependencies or constraints file.")]
╰─▶ Because albatross==1.2.3 is unusable because no wheels are available with a matching Python ABI and you require albatross==1.2.3, we can conclude that the requirements are unsatisfiable.
1432
1432
"###);
1433
1433
1434
-
// The verison '1.2.3+foo' satisfies the constraint '==1.2.3'.
1434
+
// The version '1.2.3+foo' satisfies the constraint '==1.2.3'.
1435
1435
assert_not_installed(
1436
1436
&context.venv,
1437
1437
"local_used_without_sdist_a",
@@ -1532,9 +1532,19 @@ fn local_transitive() {
1532
1532
+ bluebird==2.0.0+foo
1533
1533
"###);
1534
1534
1535
-
// The verison '2.0.0+foo' satisfies both ==2.0.0 and ==2.0.0+foo.
╰─▶ Because bluebird==2.0.0 is unusable because no wheels are available with a matching Python ABI and albatross==1.0.0 depends on bluebird==2.0.0, we can conclude that albatross==1.0.0 cannot be used.
1589
+
And because only albatross==1.0.0 is available and you require albatross, we can conclude that the requirements are unsatisfiable.
1582
1590
"###);
1583
1591
1584
-
// The verison '1.2.3+foo' satisfies the constraint '==1.2.3'.
1592
+
// The version '1.2.3+foo' satisfies the constraint '==1.2.3'.
0 commit comments