From 9db1193c2a0dfa3aa81664fddc89a51a5bc7ef05 Mon Sep 17 00:00:00 2001 From: Fredrik Averpil Date: Tue, 3 Aug 2021 20:06:17 +0200 Subject: [PATCH 1/2] Add CPython 3.10.0rc1 --- plugins/python-build/share/python-build/3.10.0rc1 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 plugins/python-build/share/python-build/3.10.0rc1 diff --git a/plugins/python-build/share/python-build/3.10.0rc1 b/plugins/python-build/share/python-build/3.10.0rc1 new file mode 100644 index 00000000..411cb7ec --- /dev/null +++ b/plugins/python-build/share/python-build/3.10.0rc1 @@ -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.10.0rc1" "https://www.python.org/ftp/python/3.10.0/Python-3.10.0rc1.tar.xz#135b56c2703ad8e01a2728b564f13ffe5cea691fc244f40df4d9e1b3841e690c" standard verify_py310 copy_python_gdb ensurepip +else + install_package "Python-3.10.0rc1" "https://www.python.org/ftp/python/3.10.0/Python-3.10.0rc1.tgz#4da5269494325da3872531c5178110a91c1eaf7cfe25523ac7a6f26ff7b7ac4d" standard verify_py310 copy_python_gdb ensurepip +fi From 1427f80828ae7b00a5f787d82c2063b2b79311fe Mon Sep 17 00:00:00 2001 From: Fredrik Averpil Date: Tue, 3 Aug 2021 20:10:53 +0200 Subject: [PATCH 2/2] Add test to CI --- .github/workflows/ubuntu_tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ubuntu_tests.yml b/.github/workflows/ubuntu_tests.yml index 4b125c39..6968e19c 100644 --- a/.github/workflows/ubuntu_tests.yml +++ b/.github/workflows/ubuntu_tests.yml @@ -12,6 +12,7 @@ jobs: - 3.7.10 - 3.8.10 - 3.9.5 + - 3.10.0rc1 runs-on: Ubuntu-20.04 steps: - uses: actions/checkout@v2