From ebf0b651c170a332a2d2048b5bc68f962ba76777 Mon Sep 17 00:00:00 2001 From: Lucas Colley Date: Sun, 11 Aug 2024 22:46:05 +0000 Subject: [PATCH] DOC: mention conda-build dependency --- asv/environment.py | 3 ++- docs/source/credits.rst | 1 + docs/source/installing.rst | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/asv/environment.py b/asv/environment.py index 2c32dfdf0..98336bf8a 100644 --- a/asv/environment.py +++ b/asv/environment.py @@ -448,7 +448,8 @@ def get_environment_class_by_name(environment_type): tool_names = [cls.tool_name for cls in util.iter_subclasses(Environment)] raise EnvironmentUnavailable( f"Unknown environment type '{environment_type}'. " - f"Allowed values based on existing plugins are {tool_names}." + f"Allowed values based on existing plugins are {tool_names}. " + f"If you are trying to use `mamba`, you may need to install `conda-build`." ) diff --git a/docs/source/credits.rst b/docs/source/credits.rst index fc16196d2..3432ab6b6 100644 --- a/docs/source/credits.rst +++ b/docs/source/credits.rst @@ -48,6 +48,7 @@ The rest of the contributors are listed in alphabetical order. - Kacper Kowalik (Xarthisius) - Kevin Anderson - @Leenkiz +- Lucas Colley - Lucy Jiménez - Marc Garcia - @mariamadronah diff --git a/docs/source/installing.rst b/docs/source/installing.rst index 80b324c3d..5a3edb4be 100644 --- a/docs/source/installing.rst +++ b/docs/source/installing.rst @@ -22,7 +22,8 @@ the ``python`` requirements are as noted in the ``pyproject.toml``. For managing the environments, one of the following packages is required: - `libmambapy `__, - which is typically part of ``mamba``. In this case ``conda`` must be present too. + which is typically part of ``mamba``. In this case ``conda`` and ``conda-build`` + must be present too. - `virtualenv `__, which is required since venv is not compatible with other versions of Python.