From 9d49f7b5ca9760beb37562f3a6ebeaf20f2febea Mon Sep 17 00:00:00 2001 From: Daniel Lamblin Date: Fri, 6 Dec 2024 13:36:45 -0500 Subject: [PATCH] Fix 404 for openssl-3.4.0 release in build 3.13.1 The path before this change was wrong and resulted in the following message, provided so others may search for the error message: ``` % pyenv install 3.13.1 Downloading openssl-3.4.0.tar.gz... -> https://github.com/openssl/openssl/releases/download/openssl-3.3.2/openssl-3.4.0.tar.gz error: failed to download openssl-3.4.0.tar.gz BUILD FAILED (OS X 14.6.1 using python-build 2.4.21) Results logged to /var/folders/yt/6fv7ccy95ql3cz6_8z00_hx80000gn/T/python-build.20241206115436.6774.log Last 10 log lines: via: 1.1 varnish x-served-by: cache-ewr-kewr1740040-EWR x-cache: HIT x-cache-hits: 0 x-timer: S1733504077.891231,VS0,VE1 vary: Accept-Encoding x-fastly-request-id: cb5cb260b1733a73c78f7fd58d09f1701d334a6a content-length: 9379 curl: (56) The requested URL returned error: 404 ``` --- plugins/python-build/share/python-build/3.13.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python-build/share/python-build/3.13.1 b/plugins/python-build/share/python-build/3.13.1 index 428b61c5..cfeff70f 100644 --- a/plugins/python-build/share/python-build/3.13.1 +++ b/plugins/python-build/share/python-build/3.13.1 @@ -1,6 +1,6 @@ prefer_openssl3 export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 -install_package "openssl-3.4.0" "https://github.com/openssl/openssl/releases/download/openssl-3.3.2/openssl-3.4.0.tar.gz#e15dda82fe2fe8139dc2ac21a36d4ca01d5313c75f99f46c4e8a27709b7294bf" mac_openssl --if has_broken_mac_openssl +install_package "openssl-3.4.0" "https://github.com/openssl/openssl/releases/download/openssl-3.4.0/openssl-3.4.0.tar.gz#e15dda82fe2fe8139dc2ac21a36d4ca01d5313c75f99f46c4e8a27709b7294bf" 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.13.1" "https://www.python.org/ftp/python/3.13.1/Python-3.13.1.tar.xz#9cf9427bee9e2242e3877dd0f6b641c1853ca461f39d6503ce260a59c80bf0d9" standard verify_py313 copy_python_gdb ensurepip