prefer_openssl3
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1
install_package "openssl-3.1.2" "https://www.openssl.org/source/openssl-3.1.2.tar.gz#a0ce69b8b97ea6a35b96875235aa453b966ba3cba8af2de23657d8b6767d6539" mac_openssl --if has_broken_mac_openssl
install_package "readline-8.2" "https://ftpmirror.gnu.org/readline/readline-8.2.tar.gz#3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35" mac_readline --if has_broken_mac_readline
if has_tar_xz_support; then
    install_package "Python-3.12.0rc3" "https://www.python.org/ftp/python/3.12.0/Python-3.12.0rc3.tar.xz#96397e891e98802b1d399dee3ceaeb9bcf0aa2566c8a7b1cce4d0196c277506a" standard verify_py312 copy_python_gdb ensurepip
else
    install_package "Python-3.12.0rc3" "https://www.python.org/ftp/python/3.12.0/Python-3.12.0rc3.tgz#b808294fb2e1c4511ec2ec3c0b643a047f94de64f95ec912e3880bbcc73bd101" standard verify_py312 copy_python_gdb ensurepip
fi
