Skip to content

Commit

Permalink
pin micromamba: (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
majamil16 authored Jul 16, 2024
1 parent 841aada commit dc43d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metaflow_extensions/netflix_ext/plugins/conda/conda.py
Original file line number Diff line number Diff line change
Expand Up @@ -1784,7 +1784,7 @@ def _ensure_micromamba(self) -> str:
"if ! type micromamba >/dev/null 2>&1; then "
"mkdir -p ~/.local/bin >/dev/null 2>&1; "
'python -c "import requests, bz2, sys; '
"data = requests.get('https://micro.mamba.pm/api/micromamba/%s/latest').content; "
"data = requests.get('https://micro.mamba.pm/api/micromamba/%s/1.5.7').content; "
'sys.stdout.buffer.write(bz2.decompress(data))" | '
"tar -xv -C ~/.local/bin/ --strip-components=1 bin/micromamba > /dev/null 2>&1; "
"echo $HOME/.local/bin/micromamba; "
Expand Down

0 comments on commit dc43d7d

Please sign in to comment.