-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: constraints on virtual packages were ignored
- Loading branch information
1 parent
809d3c4
commit 3374345
Showing
7 changed files
with
116 additions
and
26 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
6 changes: 6 additions & 0 deletions
6
crates/rattler_solve/tests/snapshots/backends__libsolv_c__virtual_package_constrains.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,6 @@ | ||
--- | ||
source: crates/rattler_solve/tests/backends.rs | ||
assertion_line: 614 | ||
expression: output | ||
--- | ||
Cannot solve the request because of: package cuda-version-12.5-hd4f0392_3 has constraint __cuda >=12.1 conflicting with __cuda-1 |
11 changes: 11 additions & 0 deletions
11
crates/rattler_solve/tests/snapshots/backends__resolvo__virtual_package_constrains.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,11 @@ | ||
--- | ||
source: crates/rattler_solve/tests/backends.rs | ||
assertion_line: 711 | ||
expression: output | ||
--- | ||
Cannot solve the request because of: The following packages are incompatible | ||
├─ __cuda * can be installed with any of the following options: | ||
│ └─ __cuda 1 | ||
└─ cuda-version * cannot be installed because there are no viable options: | ||
└─ cuda-version 12.5 would constrain | ||
└─ __cuda >=12.1 , which conflicts with any installable versions previously reported |
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