asv.plugins.rattler

Classes

Rattler

Manage an environment using py-rattler.

Module Contents

class asv.plugins.rattler.Rattler(conf, python, requirements, tagged_env_vars)[source]

Manage an environment using py-rattler.

Dependencies are installed using py-rattler. The benchmarked project is installed using the build command specified.

tool_name = 'rattler'[source]
_python[source]
_requirements[source]
_channels[source]
_environment_file = None[source]
_pkg_cache = 'Uninferable/pkgs'[source]
_setup()[source]

Implementation for setting up the environment.

async _async_setup()[source]
_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]