From f790a66781c22e58ee8ceb3e9d26d1fe86958440 Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Fri, 20 Aug 2021 12:46:16 +0530 Subject: [PATCH] .github: set specific version of pyenv so pyenv upstream doesn't break our CI --- Tools/environment_install/install-prereqs-mac.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tools/environment_install/install-prereqs-mac.sh b/Tools/environment_install/install-prereqs-mac.sh index 922ccc553e..507a221892 100755 --- a/Tools/environment_install/install-prereqs-mac.sh +++ b/Tools/environment_install/install-prereqs-mac.sh @@ -109,6 +109,10 @@ if maybe_prompt_user "Install python using pyenv [N/y]?" ; then echo "Installing pyenv" curl https://pyenv.run | bash + pushd $HOME/.pyenv + git fetch --tags + git checkout v2.0.4 + popd exportline="export PYENV_ROOT=\$HOME/.pyenv" echo $exportline >> ~/$SHELL_LOGIN exportline="export PATH=\$PYENV_ROOT/bin:\$PATH"