asv.plugins._mamba_helpers

Classes

Functions

get_index([channel_urls, prepend, platform, ...])

load_channels(pool, channels, repos[, has_priority, ...])

Module Contents

asv.plugins._mamba_helpers.get_index(channel_urls=(), prepend=True, platform=None, use_local=False, use_cache=False, unknown=None, prefix=None, repodata_fn='repodata.json')[source]
asv.plugins._mamba_helpers.load_channels(pool, channels, repos, has_priority=None, prepend=True, platform=None, use_local=False, use_cache=True, repodata_fn='repodata.json')[source]
class asv.plugins._mamba_helpers.MambaSolver(channels, platform, context, output_folder=None)[source]
channels[source]
platform[source]
context[source]
output_folder = 'local'[source]
pool[source]
repos = [][source]
index = [][source]
local_index = [][source]
local_repos[source]
replace_installed(prefix)[source]
replace_channels()[source]
solve(specs, pkg_cache_path=None)[source]

Solve given a set of specs.

Parameters

specslist of str

A list of package specs. You can use conda.models.match_spec.MatchSpec to get them to the right form by calling MatchSpec(mypec).conda_build_form()

Returns

transactionlibmambapy.Transaction

The mamba transaction.

Raises

RuntimeError :

If the solver did not find a solution.