-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: This fixes parsing of
ray[default,data] >=2.9.0,<3.0.0
(#732)
This fixes parsing of `ray[default,data] >=2.9.0,<3.0.0` to fail with `InvalidPackageName` instead of `InvalidBracket`.
- Loading branch information
1 parent
e97f37c
commit 6f258e9
Showing
9 changed files
with
116 additions
and
24 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
18 changes: 9 additions & 9 deletions
18
...ypes/src/repo_data/snapshots/rattler_conda_types__repo_data__test__base_url_packages.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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
--- | ||
source: crates/rattler_conda_types/src/repo_data/mod.rs | ||
assertion_line: 511 | ||
expression: file_urls | ||
--- | ||
- channels/dummy/linux-64/foobar-2.1-bla_1.tar.bz2 | ||
- channels/dummy/linux-64/bors-2.1-bla_1.tar.bz2 | ||
- channels/dummy/linux-64/foo-3.0.2-py36h1af98f8_2.conda | ||
- channels/dummy/linux-64/issue_717-2.1-bla_1.tar.bz2 | ||
- channels/dummy/linux-64/bar-1.0-unix_py36h1af98f8_2.tar.bz2 | ||
- channels/dummy/linux-64/bors-1.0-bla_1.tar.bz2 | ||
- channels/dummy/linux-64/foobar-2.0-bla_1.tar.bz2 | ||
- channels/dummy/linux-64/foo-3.0.2-py36h1af98f8_1.conda | ||
- channels/dummy/linux-64/foo-3.0.2-py36h1af98f8_1.tar.bz2 | ||
- channels/dummy/linux-64/baz-2.0-unix_py36h1af98f8_2.tar.bz2 | ||
- channels/dummy/linux-64/foo-4.0.2-py36h1af98f8_2.tar.bz2 | ||
- channels/dummy/linux-64/bors-1.1-bla_1.tar.bz2 | ||
- channels/dummy/linux-64/bors-2.0-bla_1.tar.bz2 | ||
- channels/dummy/linux-64/foobar-2.0-bla_1.tar.bz2 | ||
- channels/dummy/linux-64/bors-1.2.1-bla_1.tar.bz2 | ||
- channels/dummy/linux-64/baz-1.0-unix_py36h1af98f8_2.tar.bz2 | ||
- channels/dummy/linux-64/bors-2.1-bla_1.tar.bz2 | ||
- channels/dummy/linux-64/foo-3.0.2-py36h1af98f8_2.conda | ||
- channels/dummy/linux-64/bors-1.0-bla_1.tar.bz2 | ||
- channels/dummy/linux-64/bors-1.1-bla_1.tar.bz2 | ||
- channels/dummy/linux-64/foobar-2.1-bla_1.tar.bz2 | ||
- channels/dummy/linux-64/baz-2.0-unix_py36h1af98f8_2.tar.bz2 | ||
- channels/dummy/linux-64/bors-2.0-bla_1.tar.bz2 |
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
7 changes: 7 additions & 0 deletions
7
crates/rattler_solve/tests/snapshots/backends__resolvo__issue_717.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,7 @@ | ||
--- | ||
source: crates/rattler_solve/tests/backends.rs | ||
expression: result.unwrap_err() | ||
--- | ||
Cannot solve the request because of: The following packages are incompatible | ||
└─ issue_717 * cannot be installed because there are no viable options: | ||
└─ issue_717 2.1 is excluded because the constrains 'ray[default,data] >=2.9.0,<3.0.0' failed to parse: 'ray[default,data]' is not a valid package name. Package names can only contain 0-9, a-z, A-Z, -, _, or . |
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