From ca90f87d1e8a58f249a7b74f01619e43d7627d98 Mon Sep 17 00:00:00 2001 From: Lucas Colley Date: Wed, 30 Oct 2024 12:23:35 +0000 Subject: [PATCH] wip --- asv/plugins/_mamba_helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asv/plugins/_mamba_helpers.py b/asv/plugins/_mamba_helpers.py index 3a5b09b04..bf8518901 100644 --- a/asv/plugins/_mamba_helpers.py +++ b/asv/plugins/_mamba_helpers.py @@ -152,7 +152,7 @@ def load_channels( ) print("Cache path: ", subdir.cache_path()) - repo = subdir.create_repo() + repo = subdir.create_repo(pool) repo.set_priority(priority, subpriority) repos.append(repo) @@ -165,7 +165,7 @@ def __init__(self, channels, platform, context, output_folder=None): self.platform = platform self.context = context self.output_folder = output_folder or "local" - self.pool = libmambapy.solver.libsolv.Database() + self.pool = libmambapy.Pool() self.repos = [] self.index = load_channels( self.pool, self.channels, self.repos, platform=platform