Skip to content

Commit 4988330

Browse files
committed
fix
1 parent 4e34c59 commit 4988330

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tests/integration_test.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ use pixi_pack::{
1414
};
1515
use rattler_conda_types::Platform;
1616
use rattler_conda_types::RepoData;
17-
use rattler_conda_types::package::ArchiveIdentifier;
1817
use rattler_lock::UrlOrPath;
1918
use rattler_shell::shell::{Bash, ShellEnum};
2019
use rstest::*;
@@ -330,13 +329,11 @@ async fn test_includes_repodata_patches(
330329
// in this example, the `libzlib` entry in the `python-3.12.3-h2628c8c_0_cpython.conda`
331330
// package is `libzlib >=1.2.13,<1.3.0a0`, but the upstream repodata was patched to
332331
// `libzlib >=1.2.13,<2.0.0a0` which is represented in the `pixi.lock` file
333-
let python_archive =
334-
ArchiveIdentifier::try_from_filename("python-3.12.3-h2628c8c_0_cpython.conda")
335-
.expect("invalid python archive identifier");
332+
let python_archive = "python-3.12.3-h2628c8c_0_cpython.conda";
336333
assert!(
337334
repodata
338335
.conda_packages
339-
.get(&python_archive)
336+
.get(python_archive)
340337
.expect("python not found in repodata")
341338
.depends
342339
.contains(&"libzlib >=1.2.13,<2.0.0a0".to_string()),

0 commit comments

Comments
 (0)