From c4ed80826fd1a4795894ef6db548dfafe43374bc Mon Sep 17 00:00:00 2001 From: "pyenv-bot[bot]" <262257361+pyenv-bot[bot]@users.noreply.github.com> Date: Tue, 3 Mar 2026 08:15:01 +0300 Subject: [PATCH] Add CPython 3.10.20, 3.11.15 Co-authored-by: native-api <2670332+native-api@users.noreply.github.com> --- plugins/python-build/share/python-build/3.10.20 | 9 +++++++++ plugins/python-build/share/python-build/3.11.15 | 10 ++++++++++ 2 files changed, 19 insertions(+) create mode 100644 plugins/python-build/share/python-build/3.10.20 create mode 100644 plugins/python-build/share/python-build/3.11.15 diff --git a/plugins/python-build/share/python-build/3.10.20 b/plugins/python-build/share/python-build/3.10.20 new file mode 100644 index 00000000..7807d808 --- /dev/null +++ b/plugins/python-build/share/python-build/3.10.20 @@ -0,0 +1,9 @@ +prefer_openssl3 +export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 +install_package "openssl-3.6.1" "https://github.com/openssl/openssl/releases/download/openssl-3.6.1/openssl-3.6.1.tar.gz#b1bfedcd5b289ff22aee87c9d600f515767ebf45f77168cb6d64f231f518a82e" mac_openssl --if has_broken_mac_openssl +install_package "readline-8.3" "https://ftpmirror.gnu.org/readline/readline-8.3.tar.gz#fe5383204467828cd495ee8d1d3c037a7eba1389c22bc6a041f627976f9061cc" mac_readline --if has_broken_mac_readline +if has_tar_xz_support; then + install_package "Python-3.10.20" "https://www.python.org/ftp/python/3.10.20/Python-3.10.20.tar.xz#de6517421601e39a9a3bc3e1bc4c7b2f239297423ee05e282598c83ec0647505" standard verify_py310 copy_python_gdb ensurepip +else + install_package "Python-3.10.20" "https://www.python.org/ftp/python/3.10.20/Python-3.10.20.tgz#4ff5fd4c5bab803b935019f3e31d7219cebd6f870d00389cea53b88bbe935d1a" standard verify_py310 copy_python_gdb ensurepip +fi diff --git a/plugins/python-build/share/python-build/3.11.15 b/plugins/python-build/share/python-build/3.11.15 new file mode 100644 index 00000000..9fd16e53 --- /dev/null +++ b/plugins/python-build/share/python-build/3.11.15 @@ -0,0 +1,10 @@ +prefer_openssl3 +export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 +export PYTHON_BUILD_TCLTK_USE_PKGCONFIG=1 +install_package "openssl-3.6.1" "https://github.com/openssl/openssl/releases/download/openssl-3.6.1/openssl-3.6.1.tar.gz#b1bfedcd5b289ff22aee87c9d600f515767ebf45f77168cb6d64f231f518a82e" mac_openssl --if has_broken_mac_openssl +install_package "readline-8.3" "https://ftpmirror.gnu.org/readline/readline-8.3.tar.gz#fe5383204467828cd495ee8d1d3c037a7eba1389c22bc6a041f627976f9061cc" mac_readline --if has_broken_mac_readline +if has_tar_xz_support; then + install_package "Python-3.11.15" "https://www.python.org/ftp/python/3.11.15/Python-3.11.15.tar.xz#272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b625" standard verify_py311 copy_python_gdb ensurepip +else + install_package "Python-3.11.15" "https://www.python.org/ftp/python/3.11.15/Python-3.11.15.tgz#f4de1b10bd6c70cbb9fa1cd71fc5038b832747a74ee59d599c69ce4846defb50" standard verify_py311 copy_python_gdb ensurepip +fi