diff --git a/docker/build_scripts/build_env.sh b/docker/build_scripts/build_env.sh index 7f1d5f5b3..f2efcd60e 100644 --- a/docker/build_scripts/build_env.sh +++ b/docker/build_scripts/build_env.sh @@ -1,7 +1,7 @@ # source me PYTHON_DOWNLOAD_URL=https://www.python.org/ftp/python -CPYTHON_VERSIONS="2.7.16 3.4.10 3.5.7 3.6.9 3.7.4" +CPYTHON_VERSIONS="2.7.16 3.4.10 3.5.7 3.6.9 3.7.4 3.8.0rc1" # openssl version to build, with expected sha256 hash of .tar.gz # archive. diff --git a/docker/build_scripts/build_utils.sh b/docker/build_scripts/build_utils.sh index 6902111d6..947345de9 100755 --- a/docker/build_scripts/build_utils.sh +++ b/docker/build_scripts/build_utils.sh @@ -76,7 +76,7 @@ function build_cpython { local py_dist_dir=$(pyver_dist_dir $py_ver) curl -fsSLO $PYTHON_DOWNLOAD_URL/$py_dist_dir/Python-$py_ver.tgz curl -fsSLO $PYTHON_DOWNLOAD_URL/$py_dist_dir/Python-$py_ver.tgz.asc - gpg --verify Python-$py_ver.tgz.asc + gpg --verify --no-auto-key-locate Python-$py_ver.tgz.asc if [ $(lex_pyver $py_ver) -lt $(lex_pyver 3.3) ]; then do_cpython_build $py_ver ucs2 do_cpython_build $py_ver ucs4 @@ -94,6 +94,8 @@ function build_cpythons { # Import public keys used to verify downloaded Python source tarballs. # https://www.python.org/static/files/pubkeys.txt gpg --import ${MY_DIR}/cpython-pubkeys.txt + # Add version 3.8 release manager's key https://keybase.io/ambv/ + gpg --keyserver keys.gnupg.net --recv-keys E3FF2839C048B25C084DEBE9B26995E310250568 for py_ver in $@; do build_cpython $py_ver done