Skip to content

Commit

Permalink
Loosen requirements for mamba help text
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoesters committed Sep 20, 2024
1 parent 0c5e24b commit c6c585c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion constructor/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def identify_conda_exe(conda_exe: Union[str, Path] = None) -> Tuple[StandaloneEx
return StandaloneExe.CONDA, fields[1]
# micromamba only returns the version number
output_help = check_output([conda_exe, "--help"], text=True)
if "Usage: micromamba" in output_help:
if "mamba" in output_help:
return StandaloneExe.MAMBA, output_version
except CalledProcessError as exc:
logger.warning(f"Could not identify standalone binary {exc}.")
Expand Down

0 comments on commit c6c585c

Please sign in to comment.