-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip: experimental support for version ranges in unsat errors
- Loading branch information
1 parent
357a64d
commit f4d9f72
Showing
12 changed files
with
179 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
tests/snapshots/solver__merge_installable_non_continuous_range.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
source: tests/solver.rs | ||
expression: "solve_snapshot(provider, &[\"a 1\", \"a 2..20\"])" | ||
--- | ||
The following packages are incompatible | ||
|-- a >=2, <20 can be installed with any of the following options: | ||
|-- a 19 | >=16, <=17 | >=9, <=14 | >=2, <=7 | ||
|-- a >=1, <2 cannot be installed because there are no viable options: | ||
|-- a 1, which conflicts with the versions reported above. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
--- | ||
source: tests/solver.rs | ||
assertion_line: 605 | ||
expression: error | ||
--- | ||
The following packages are incompatible | ||
|-- b * can be installed with any of the following options: | ||
|-- b 6 | 7 would require | ||
|-- b >=6, <=7 would require | ||
|-- d >=1, <2, which can be installed with any of the following options: | ||
|-- d 1 | ||
|-- c * cannot be installed because there are no viable options: | ||
|-- c 1 | 2 would require | ||
|-- c >=1, <=2 would require | ||
|-- d >=2, <3, which cannot be installed because there are no viable options: | ||
|-- d 2, which conflicts with the versions reported above. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
--- | ||
source: tests/solver.rs | ||
assertion_line: 671 | ||
expression: error | ||
--- | ||
The following packages are incompatible | ||
|-- a * can be installed with any of the following options: | ||
|-- a 9 | 10 would require | ||
|-- a >=9, <=10 would require | ||
|-- b *, which can be installed with any of the following options: | ||
|-- b 42 | 100 would require | ||
|-- b >=42, <=100 would require | ||
|-- c >=0, <100, which can be installed with any of the following options: | ||
|-- c 99 | ||
|-- c >=101, <104 cannot be installed because there are no viable options: | ||
|-- c 101 | 103, which conflicts with the versions reported above. | ||
|-- c >=101, <=103, which conflicts with the versions reported above. | ||
|
Oops, something went wrong.