This commit is contained in:
Zanie 2024-01-26 14:01:31 -06:00
parent a0f527a741
commit 51942fe1a6
1 changed files with 8 additions and 4 deletions

View File

@ -1430,7 +1430,9 @@ fn dependency_excludes_non_contiguous_range_of_compatible_versions() -> Result<(
[crates/puffin-resolver/src/pubgrub/report.rs:115] &dependency_set = Range {
segments: [
(
Unbounded,
Included(
"1.0.0",
),
Included(
"1.0.0",
),
@ -1439,7 +1441,9 @@ fn dependency_excludes_non_contiguous_range_of_compatible_versions() -> Result<(
Included(
"3.0.0",
),
Unbounded,
Included(
"3.0.0",
),
),
],
}
@ -1499,8 +1503,8 @@ fn dependency_excludes_non_contiguous_range_of_compatible_versions() -> Result<(
Because only albatross<=3.0.0 is available and albatross==3.0.0 depends on bluebird==3.0.0, we can conclude that albatross>=3.0.0 depends on bluebird==3.0.0.
And because we know from (2) that all versions of crow, bluebird!=1.0.0, albatross<3.0.0 are incompatible, we can conclude that all versions of crow depend on one of:
bluebird<=1.0.0
bluebird>=3.0.0
bluebird==1.0.0
bluebird==3.0.0
And because you require crow and you require bluebird>=2.0.0,<3.0.0, we can conclude that the requirements are unsatisfiable.
"###);