diff --git a/ci/scripts/install_python.sh b/ci/scripts/install_python.sh index 7a3827fdfa3f7..d513d54aeb239 100755 --- a/ci/scripts/install_python.sh +++ b/ci/scripts/install_python.sh @@ -48,7 +48,7 @@ if [ $platform = "MacOSX" ]; then if [ "$(uname -m)" = "arm64" ] || [ "$version" = "3.10" ] || [ "$version" = "3.11" ]; then fname="python-${full_version}-macos11.pkg" - else if [ "$version" = "3.12" ]; then + elif [ "$version" = "3.12" ]; then fname="python-3.12.0rc3-macos11.pkg" else fname="python-${full_version}-macosx10.9.pkg"