mamba
mamba copied to clipboard
Precedence of $CONDARC and $MAMBARC
Troubleshooting docs
- [X] My problem is not solved in the Troubleshooting docs
Anaconda default channels
- [X] I do NOT use the Anaconda default channels (pkgs/* etc.)
How did you install Mamba?
Micromamba
Search tried in issue tracker
yes
Latest version of Mamba
- [X] My problem is not solved with the latest version
Tried in Conda?
I do not have this problem with Conda, just with Mamba
Describe your issue
When setting $CONDARC
or $MAMBARC
ignores all other configuration files in default locations.
conda
handles them with the lowest precedence. Mamba also claims to do so: ttps://mamba.readthedocs.io/en/latest/user_guide/configuration.html#multiple-rc-files
mamba info / micromamba info
➜ mamba git:(main) ✗ micromamba info
libmamba version : 1.5.6
micromamba version : 1.5.6
curl version : libcurl/8.1.2 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.55.1
libarchive version : libarchive 3.5.3 zlib/1.2.12 liblzma/5.0.5 bz2lib/1.0.8
envs directories : /Users/belastoyan/micromamba/envs
package cache : /Users/belastoyan/micromamba/pkgs
/Users/belastoyan/.mamba/pkgs
environment : None (not found)
env location : -
user config files : /Users/belastoyan/.mambarc
populated config files : /Users/belastoyan/.mambarc
/Users/belastoyan/.condarc
virtual packages : __unix=0=0
__osx=14.0=0
__archspec=1=arm64
channels : https://conda.anaconda.org/conda-forge/osx-arm64
https://conda.anaconda.org/conda-forge/noarch
[REDACTED]
base environment : /Users/belastoyan/micromamba
platform : osx-arm64
Logs
➜ mamba git:(main) ✗ ./bug.sh
+ conda config --show-sources
==> /Users/belastoyan/.condarc <==
ssl_verify: False
channel_priority: strict
solver: libmamba
+ micromamba config sources
Configuration files (by precedence order):
~/.mambarc
~/.condarc
+ export CONDARC=/tmp/.condarc
+ CONDARC=/tmp/.condarc
+ conda config --show-sources
==> /Users/belastoyan/.condarc <==
ssl_verify: False
channel_priority: strict
solver: libmamba
+ micromamba config sources
Configuration files (by precedence order):
/tmp/.condarc (invalid)
+ micromamba --version
1.5.6
+ conda --version
conda 23.3.1
environment.yml
No response
~/.condarc
No response