mirror of
https://github.com/pyenv/pyenv.git
synced 2026-06-19 14:58:19 +09:00
The options is available since 3.10.0+ (https://github.com/python/cpython/pull/24820) but has no effect until 3.11.0 (cpython b9e9292d75fdea621e05e39b8629e6935d282d0d) and broken in MacOS until 3.12.2 (cpython cc13eabc7ce08accf49656e258ba500f74a1dae8), we add downstream patches to fix that except for 3.11-dev where we disabled it
12 lines
999 B
Groff
12 lines
999 B
Groff
prefer_openssl3
|
|
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1
|
|
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL_RPATH=1
|
|
export PYTHON_BUILD_TCLTK_USE_PKGCONFIG=1
|
|
install_package "openssl-3.2.1" "https://www.openssl.org/source/openssl-3.2.1.tar.gz#83c7329fe52c850677d75e5d0b0ca245309b97e8ecbcfdc1dfdc4ab9fac35b39" 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.11.9" "https://www.python.org/ftp/python/3.11.9/Python-3.11.9.tar.xz#9b1e896523fc510691126c864406d9360a3d1e986acbda59cda57b5abda45b87" standard verify_py311 copy_python_gdb ensurepip
|
|
else
|
|
install_package "Python-3.11.9" "https://www.python.org/ftp/python/3.11.9/Python-3.11.9.tgz#e7de3240a8bc2b1e1ba5c81bf943f06861ff494b69fda990ce2722a504c6153d" standard verify_py311 copy_python_gdb ensurepip
|
|
fi
|