Skip to content

Commit

Permalink
Micromamba doesn't support --override-channels so we have to avoid us…
Browse files Browse the repository at this point in the history
…ing it for now
  • Loading branch information
mariusvniekerk committed Sep 29, 2020
1 parent a04b5be commit 2dd88f7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion conda_lock/conda_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,11 @@ def _determine_conda_executable(conda_executable: Optional[str], no_mamba: bool)
yield conda_executable
yield shutil.which(conda_executable)
_conda_exe = ensureconda.ensureconda(
mamba=not no_mamba, micromamba=not no_mamba, conda=True, conda_exe=True
mamba=not no_mamba,
# micromamba doesn't support --override-channels
micromamba=False,
conda=True,
conda_exe=True,
)
yield _conda_exe

Expand Down

0 comments on commit 2dd88f7

Please sign in to comment.