asv.plugins.mamba

Classes

Mamba

Manage an environment using mamba.

Functions

Module Contents

asv.plugins.mamba._mamba_lock()[source]
class asv.plugins.mamba.Mamba(conf, python, requirements, tagged_env_vars)[source]

Manage an environment using mamba.

Dependencies are installed using mamba. The benchmarked project is installed using pip.

tool_name = 'mamba'[source]
_matches_cache[source]
_python[source]
_requirements[source]
_mamba_channels[source]
_mamba_environment_file = None[source]
context[source]
_apply_condarc_settings(condarc_data)[source]
classmethod matches(python)[source]

Returns True if this environment subclass can handle the given Python specifier.

classmethod _matches(python)[source]
_setup()[source]

Implementation for setting up the environment.

_get_requirements()[source]
run_executable(executable, args, **kwargs)[source]

Run a given executable (eg. python, pip) in the environment.

run(args, **kwargs)[source]

Start up the environment’s python executable with the given args.

_run_pip(args, **kwargs)[source]