Manager

The conda plugin manger extends pluggy's default plugin manager with a number of conda-specific features.

class CondaPluginManager(project_name: Optional[str] = None, *args, **kwargs)

The conda plugin manager to implement behavior additional to pluggy's default plugin manager.

get_cached_solver_backend = None

Cached version of the get_solver_backend() method.

get_hook_results(name: str) list

Return results of the plugin hooks with the given name and raise an error if there is an conflict.

get_solver_backend(name: Optional[str] = None) type[conda.core.solve.Solver]

Get the solver backend with the given name (or fall back to the name provided in the context).

See context.solver for more details.

Please use the cached version of this method called get_cached_solver_backend() for high-throughput code paths which is set up as a instance-specific LRU cache.

load_entrypoints(group: str, name: Optional[str] = None) int

Load modules from querying the specified setuptools group. :param str group: Entry point group to load plugins. :param str name: If given, loads only plugins with the given name. :rtype: int :return: The number of plugins loaded by this call.

load_plugins(*plugins) list[str]

Load the provided list of plugins and fail gracefully on error. The provided list plugins can either be classes or modules with hook_impl.

get_plugin_manager() conda.plugins.manager.CondaPluginManager

Get a cached version of the CondaPluginManager instance, with the built-in and the entrypoints provided plugins loaded.