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 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