diff --git a/crates/rattler-bin/src/commands/create.rs b/crates/rattler-bin/src/commands/create.rs index fb3b768d6..cf1ff7d7a 100644 --- a/crates/rattler-bin/src/commands/create.rs +++ b/crates/rattler-bin/src/commands/create.rs @@ -7,8 +7,8 @@ use rattler::{ package_cache::PackageCache, }; use rattler_conda_types::{ - Channel, ChannelConfig, GenericVirtualPackage, MatchSpec, Platform, PrefixRecord, - RepoDataRecord, Version, PackageRecord, + Channel, ChannelConfig, GenericVirtualPackage, MatchSpec, PackageRecord, Platform, + PrefixRecord, RepoDataRecord, Version, }; use rattler_networking::{AuthenticatedClient, AuthenticationStorage}; use rattler_repodata_gateway::fetch::{ diff --git a/crates/rattler_conda_types/src/repo_data/topological_sort.rs b/crates/rattler_conda_types/src/repo_data/topological_sort.rs index c8cdaf6fd..846092f38 100644 --- a/crates/rattler_conda_types/src/repo_data/topological_sort.rs +++ b/crates/rattler_conda_types/src/repo_data/topological_sort.rs @@ -314,7 +314,7 @@ mod tests { #[case] packages: Vec, #[case] expected_roots: &[&str], ) { - let mut roots = get_graph_roots(&packages); + let mut roots = get_graph_roots(&packages, None); roots.sort(); assert_eq!(roots.as_slice(), expected_roots); } diff --git a/crates/rattler_repodata_gateway/src/sparse/mod.rs b/crates/rattler_repodata_gateway/src/sparse/mod.rs index 60cb5e36c..97b2d6b21 100644 --- a/crates/rattler_repodata_gateway/src/sparse/mod.rs +++ b/crates/rattler_repodata_gateway/src/sparse/mod.rs @@ -378,6 +378,7 @@ mod test { ), ], package_names, + None, ) .await .unwrap() diff --git a/crates/rattler_solve/src/lib.rs b/crates/rattler_solve/src/lib.rs index 18712a14a..326339817 100644 --- a/crates/rattler_solve/src/lib.rs +++ b/crates/rattler_solve/src/lib.rs @@ -146,6 +146,7 @@ mod test_libsolv { Channel::from_str("dummy", &ChannelConfig::default()).unwrap(), "dummy".to_string(), path, + None, ) .unwrap() } @@ -203,7 +204,7 @@ mod test_libsolv { let names = specs.iter().map(|s| s.name.clone().unwrap()); let available_packages = - SparseRepoData::load_records_recursive(&sparse_repo_datas, names).unwrap(); + SparseRepoData::load_records_recursive(&sparse_repo_datas, names, None).unwrap(); let solver_task = SolverTask { available_packages: available_packages