Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-intel committed Dec 10, 2024
1 parent aadce54 commit 19096c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from metaflow.metaflow_config import (
CONDA_ALL_ARCHS,
CONDA_DEPENDENCY_RESOLVER,
CONDA_TEST,
DEFAULT_DATASTORE,
DEFAULT_METADATA,
get_pinned_conda_libs,
Expand Down
4 changes: 3 additions & 1 deletion metaflow_extensions/netflix_ext/plugins/conda/conda.py
Original file line number Diff line number Diff line change
Expand Up @@ -2068,7 +2068,9 @@ def _validate_conda_installation(self) -> Optional[Exception]:
self.is_non_conda_exec = True
elif "mamba version" in self._info_no_lock:
# Mamba 2.0+ has mamba version but no conda version
if parse_version(self._info_no_lock) < parse_version("2.0.0"):
if parse_version(self._info_no_lock["mamba version"]) < parse_version(
"2.0.0"
):
return InvalidEnvironmentException(
self._install_message_for_resolver("mamba")
)
Expand Down

0 comments on commit 19096c7

Please sign in to comment.