File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ use pixi_pack::{
1414} ;
1515use rattler_conda_types:: Platform ;
1616use rattler_conda_types:: RepoData ;
17- use rattler_conda_types:: package:: ArchiveIdentifier ;
1817use rattler_lock:: UrlOrPath ;
1918use rattler_shell:: shell:: { Bash , ShellEnum } ;
2019use 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( ) ) ,
You can’t perform that action at this time.
0 commit comments