From f9d3c24bf8b5105e6c07ea5120ec8aebf2cf7760 Mon Sep 17 00:00:00 2001 From: Rohit Goswami Date: Sun, 28 Jan 2024 14:27:31 +0000 Subject: [PATCH] DOC: Document changes for mambarc --- CHANGES.rst | 2 ++ docs/source/asv.conf.json.rst | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index be8a75a52..1a788e355 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -10,6 +10,8 @@ API Changes Bug Fixes ^^^^^^^^^ - The ``mamba`` plugin works correctly for newer versions (>=1.5) of ``libmambapy`` (#1372) +- The ``mamba`` plugin respects the ``MAMBARC`` environment if set, taking + channels and channel priority from the file in the environment variable. (#1373) - Fixed a bug where ``matrix`` requirements were dropped if an environment file was specified. (#1373) Other Changes and Additions diff --git a/docs/source/asv.conf.json.rst b/docs/source/asv.conf.json.rst index 43b5113b4..993ef83ed 100644 --- a/docs/source/asv.conf.json.rst +++ b/docs/source/asv.conf.json.rst @@ -280,6 +280,14 @@ the project being benchmarked may specify in its ``setup.py`` file. These specifications in ``environment.yml`` or another (user-defined) file will be overridden by the environment matrix. + .. versionadded::0.6.2 + + The ``mamba`` plugin will now take channels and channel priority from the + ``MAMBARC`` environment variable if it is provided. e.g. + ``MAMBARC=$HOME/.condarc asv run``. By default user ``.rc`` files are not + read to enforce isolation. The ``conda-forge`` channel is used as a + default only if neither an environment file nor the ``MAMBARC`` variable + is set. The ``env`` and ``env_nobuild`` dictionaries can be used to set also environment variables::