From 7ad2162004e877da625db99225f00efc97c02b3c Mon Sep 17 00:00:00 2001 From: Fredrik Averpil Date: Mon, 3 May 2021 22:34:56 +0200 Subject: [PATCH 1/2] Add CPython 3.10.0b1 --- plugins/python-build/share/python-build/3.10.0b1 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 plugins/python-build/share/python-build/3.10.0b1 diff --git a/plugins/python-build/share/python-build/3.10.0b1 b/plugins/python-build/share/python-build/3.10.0b1 new file mode 100644 index 00000000..1b1a0a38 --- /dev/null +++ b/plugins/python-build/share/python-build/3.10.0b1 @@ -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.0b1" "https://www.python.org/ftp/python/3.10.0/Python-3.10.0b1.tar.xz#a30c55b26a91f4c76392ba2b2e87c2d591fdb2b36f7b58d39fe90bd400fef1a3" ldflags_dirs standard verify_py310 copy_python_gdb ensurepip +else + install_package "Python-3.10.0b1" "https://www.python.org/ftp/python/3.10.0/Python-3.10.0b1.tgz#a44c4726948689fe22f3edf30f11bf361d4536b38738ca955747eb5860c2dc93" ldflags_dirs standard verify_py310 copy_python_gdb ensurepip +fi From 79d979f954ae4a59e4b7cc8b1ffa4cc6c7c7d7df Mon Sep 17 00:00:00 2001 From: Fredrik Averpil Date: Tue, 4 May 2021 07:57:52 +0200 Subject: [PATCH 2/2] Add test --- .github/workflows/ubuntu_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_tests.yml b/.github/workflows/ubuntu_tests.yml index a7f5c190..7a20a80a 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] # 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.4, 3.10.0b1] # 2.7.6, 3.4.10, runs-on: Ubuntu-20.04 steps: - uses: actions/checkout@v2