From 1146ce6e9cb25f165e2a04a563215cba380399b8 Mon Sep 17 00:00:00 2001 From: Rajiv Bakulesh Shah Date: Tue, 4 May 2021 05:42:26 -0700 Subject: [PATCH] Add CPython 3.9.5 (#1892) Co-authored-by: Josh Friend --- .github/workflows/ubuntu_tests.yml | 2 +- plugins/python-build/share/python-build/3.9.5 | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 plugins/python-build/share/python-build/3.9.5 diff --git a/.github/workflows/ubuntu_tests.yml b/.github/workflows/ubuntu_tests.yml index 7a20a80a..961a97e5 100644 --- a/.github/workflows/ubuntu_tests.yml +++ b/.github/workflows/ubuntu_tests.yml @@ -5,7 +5,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [2.7.18, 3.5.10, 3.6.13, 3.7.10, 3.8.9, 3.9.4, 3.10.0b1] # 2.7.6, 3.4.10, + python-version: [2.7.18, 3.5.10, 3.6.13, 3.7.10, 3.8.9, 3.9.5] # 2.7.6, 3.4.10, runs-on: Ubuntu-20.04 steps: - uses: actions/checkout@v2 diff --git a/plugins/python-build/share/python-build/3.9.5 b/plugins/python-build/share/python-build/3.9.5 new file mode 100644 index 00000000..9502865e --- /dev/null +++ b/plugins/python-build/share/python-build/3.9.5 @@ -0,0 +1,10 @@ +#require_gcc +prefer_openssl11 +export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 +install_package "openssl-1.1.1k" "https://www.openssl.org/source/openssl-1.1.1k.tar.gz#892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5" mac_openssl --if has_broken_mac_openssl +install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline +if has_tar_xz_support; then + install_package "Python-3.9.5" "https://www.python.org/ftp/python/3.9.5/Python-3.9.5.tar.xz#0c5a140665436ec3dbfbb79e2dfb6d192655f26ef4a29aeffcb6d1820d716d83" ldflags_dirs standard verify_py39 copy_python_gdb ensurepip +else + install_package "Python-3.9.5" "https://www.python.org/ftp/python/3.9.5/Python-3.9.5.tgz#e0fbd5b6e1ee242524430dee3c91baf4cbbaba4a72dd1674b90fda87b713c7ab" ldflags_dirs standard verify_py39 copy_python_gdb ensurepip +fi