From 108336a40fd97a47d163983b24d6e35e230b1bc7 Mon Sep 17 00:00:00 2001 From: Thomas Lam <79589038+tl-hbk@users.noreply.github.com> Date: Thu, 19 Dec 2024 13:11:15 -0600 Subject: [PATCH] fix: Use tool_configuration.channel_priority in TestConfiguration --- src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 8c484d7b..7ffc2afa 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -63,7 +63,6 @@ use petgraph::{algo::toposort, graph::DiGraph, visit::DfsPostOrder}; use rattler_conda_types::{ package::ArchiveType, Channel, GenericVirtualPackage, MatchSpec, PackageName, Platform, }; -use rattler_solve::ChannelPriority; use rattler_solve::SolveStrategy; use rattler_virtual_packages::{VirtualPackage, VirtualPackageOverrides}; use recipe::parser::{find_outputs_from_src, Dependency, TestType}; @@ -518,7 +517,7 @@ pub async fn run_build_from_args( ) .into_diagnostic() .context("failed to reindex output channel")?, - channel_priority: ChannelPriority::Strict, + channel_priority: tool_configuration.channel_priority, solve_strategy: SolveStrategy::Highest, tool_configuration: tool_configuration.clone(), },