From 08b966c0fba0a1a0c72ff38f9e35c6f194e7cb15 Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Sat, 7 Jan 2023 23:42:51 +1100 Subject: [PATCH] Tools: fix CI error while building for macos --- Tools/environment_install/install-prereqs-mac.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Tools/environment_install/install-prereqs-mac.sh b/Tools/environment_install/install-prereqs-mac.sh index 1b77584882..9b72ba9ac9 100755 --- a/Tools/environment_install/install-prereqs-mac.sh +++ b/Tools/environment_install/install-prereqs-mac.sh @@ -118,7 +118,7 @@ if maybe_prompt_user "Install python using pyenv [N/y]?" ; then pushd $HOME/.pyenv git fetch --tags - git checkout v2.0.4 + git checkout v2.3.9 popd exportline="export PYENV_ROOT=\$HOME/.pyenv" echo $exportline >> ~/$SHELL_LOGIN @@ -132,10 +132,10 @@ if maybe_prompt_user "Install python using pyenv [N/y]?" ; then } echo "pyenv installed" { - $(pyenv global 3.9.4) + $(pyenv global 3.10.4) } || { - env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.9.4 - pyenv global 3.9.4 + env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.10.4 + pyenv global 3.10.4 } fi