Skip to content

Commit

Permalink
Fix bad merge from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-intel committed Sep 14, 2023
1 parent 372177e commit aa74fd2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions metaflow_extensions/netflix_ext/plugins/conda/conda.py
Original file line number Diff line number Diff line change
Expand Up @@ -1715,9 +1715,10 @@ def _find_conda_binary(self):
if self._mode == "local":
self._ensure_local_conda()
else:
# Encapsulating remote conda installation and verification into a single function call,
# to perform retries with exponential backoffs as we are seeing some text file busy errors
self._download_validate_remote_conda()
self._ensure_remote_conda()
err = self._validate_conda_installation()
if err:
raise err
self._found_binaries = True

def _ensure_local_conda(self):
Expand Down Expand Up @@ -1753,6 +1754,9 @@ def _ensure_local_conda(self):
"pip": which("pip"),
}
self._bins["conda"] = self._bins[self._conda_executable_type]
err = self._validate_conda_installation():
if err:
raise err

def _install_local_conda(self):
start = time.time()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup, find_namespace_packages

version = "1.0.1"
version = "1.0.2"

setup(
name="metaflow-netflixext",
Expand Down

0 comments on commit aa74fd2

Please sign in to comment.