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/tests/pip_install_scenarios.rs
+17-13Lines changed: 17 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -1333,7 +1333,7 @@ fn local_simple() {
1333
1333
filters.push((r"local-simple-","pkg-"));
1334
1334
1335
1335
uv_snapshot!(filters, command(&context)
1336
-
.arg("local-simple-a==1.2.3")
1336
+
.arg("local-simple-a==1.2.3+foo")
1337
1337
, @r###"
1338
1338
success: false
1339
1339
exit_code: 1
@@ -1518,16 +1518,18 @@ fn local_transitive() {
1518
1518
1519
1519
uv_snapshot!(filters, command(&context)
1520
1520
.arg("local-transitive-a")
1521
-
.arg("local-transitive-b==2.0.0+foo")
1521
+
.arg("local-transitive-b==2.0.0+foo")
1522
1522
, @r###"
1523
-
success: false
1524
-
exit_code: 1
1523
+
success: true
1524
+
exit_code: 0
1525
1525
----- stdout -----
1526
1526
1527
1527
----- stderr -----
1528
-
× No solution found when resolving dependencies:
1529
-
╰─▶ Because only albatross==1.0.0 is available and albatross==1.0.0 depends on bluebird==2.0.0, we can conclude that all versions of albatross depend on bluebird==2.0.0.
1530
-
And because you require albatross and you require bluebird==2.0.0+foo, we can conclude that the requirements are unsatisfiable.
1528
+
Resolved 2 packages in [TIME]
1529
+
Downloaded 2 packages in [TIME]
1530
+
Installed 2 packages in [TIME]
1531
+
+ albatross==1.0.0
1532
+
+ bluebird==2.0.0+foo
1531
1533
"###);
1532
1534
1533
1535
// The verison '2.0.0+foo' satisfies both ==2.0.0 and ==2.0.0+foo.
@@ -1536,7 +1538,7 @@ fn local_transitive() {
1536
1538
}
1537
1539
1538
1540
/// A transitive dependency has both a non-local and local version published, but
╰─▶ 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.
1577
-
And because only albatross==1.0.0 is available and you require albatross, we can conclude that the requirements are unsatisfiable.
1577
+
Resolved 2 packages in [TIME]
1578
+
Downloaded 2 packages in [TIME]
1579
+
Installed 2 packages in [TIME]
1580
+
+ albatross==1.0.0
1581
+
+ bluebird==2.0.0
1578
1582
"###);
1579
1583
1580
1584
// The verison '1.2.3+foo' satisfies the constraint '==1.2.3'.
0 commit comments