Open corneliusroemer opened 1 year ago
I think using CONDA_SUBDIR=osx-64
should work, and --platform=osx-64
should also work for micromamba (which is a micromamba extension, basically).
We could start supporting the subdir
config value as well.
I seem to be getting it to work with --platform=osx-64
as recommended in linked issue, env variable is a great tip as well.
I just thought it'd be good to flag this so you can see whether it may be worth warning, and maybe supporting subdir for compatibility.
Interestingly, it seems micromamba can install noarch osx-64 packages from bioconda into an arm64 environment. This is something that mamba didn't support. Very neat! This will allow me to do away with using translated (~2x slower) environments for environments that require noarch bioconda packages only (and not osx-64 bioconda packages)
I would assume that this is relatively easy to fix by extending the configuration code accordingly
Troubleshooting docs
How did you install Mamba?
Mambaforge
Search tried in issue tracker
Maybe related: https://github.com/mamba-org/mamba/issues/1901
Latest version of Mamba
Tried in Conda?
I do not have this problem with Conda, just with Mamba
Describe your issue
I recently switched from mamba to micromamba.
There seems to be a very important subtle mismatch in behaviour that I only recently noticed:
micromamba
seems to ignore the value of the environment variable set viaconda config --env --set subdir osx-64
.I need this env variable as I have
osx-64
environments. When I usedmamba
this worked perfectly. However, now, after the switch tomicromamba
(aliased tomamba
) this suddenly produces subtle errors.To me this seems like a bug:
micromamba
should respect those environment variables, or at least warn the user that it's ignoring those variables (though it knows they exist).Why is this important?
conda config --env --set subdir osx-64
is plastered all over StackOverflow (and elswhere) for how to use osx-64 environments on M1 mac. Many people will run into this issue if they think micromamba behaves like mamba. See [1] [2] [3] [4]mamba info / micromamba info
Logs
No response
environment.yml
No response
~/.condarc