mirror of
https://github.com/pyenv/pyenv.git
synced 2025-05-06 15:32:24 +00:00
The auto-resolve feature (#2487) means that pyenv install miniforge3 installs miniforge3-4.10.3-10 and not the exactly named "miniforge3" recipe. Renaming "miniforge3" to "miniforge3-latest" solves this issue allowing users to execute pyenv install miniforge3-latest This is similar to the naming of the current "miniconda3-latest" recipe.
25 lines
1.2 KiB
Text
25 lines
1.2 KiB
Text
case "$(anaconda_architecture 2>/dev/null || true)" in
|
|
"Linux-ppc64le" )
|
|
install_script "Miniforge3-Linux-ppc64le" "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-ppc64le.sh" "miniconda" verify_py3_latest
|
|
;;
|
|
"Linux-x86_64" )
|
|
install_script "Miniforge3-Linux-x86_64" "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh" "miniconda" verify_py3_latest
|
|
;;
|
|
"Linux-aarch64" )
|
|
install_script "Miniforge3-Linux-aarch64" "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-aarch64.sh" "miniconda" verify_py3_latest
|
|
;;
|
|
"MacOSX-arm64" )
|
|
install_script "Miniforge3-MacOSX-arm64" "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh" "miniconda" verify_py3_latest
|
|
;;
|
|
"MacOSX-x86_64" )
|
|
install_script "Miniforge3-MacOSX-x86_64" "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-x86_64.sh" "miniconda" verify_py3_latest
|
|
;;
|
|
* )
|
|
{ echo
|
|
colorize 1 "ERROR"
|
|
echo ": The binary distribution of Miniforge3 is not available for $(anaconda_architecture 2>/dev/null || true)."
|
|
echo
|
|
} >&2
|
|
exit 1
|
|
;;
|
|
esac
|