From 22aac71ba2ac6b9fd928e446c80fbaf74b2e2f51 Mon Sep 17 00:00:00 2001 From: ckl Date: Fri, 11 Jun 2021 17:48:26 -0700 Subject: [PATCH] Enable building binary wheels for Python 3.9. PiperOrigin-RevId: 378982897 --- python/tools/distribution/build_linux_binary_wheels.sh | 3 +-- python/tools/distribution/create_release.sh | 3 +-- python/tools/distribution/test_linux_binary_wheels.sh | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/python/tools/distribution/build_linux_binary_wheels.sh b/python/tools/distribution/build_linux_binary_wheels.sh index 3b431fe2b6..2cfa2764c0 100755 --- a/python/tools/distribution/build_linux_binary_wheels.sh +++ b/python/tools/distribution/build_linux_binary_wheels.sh @@ -29,8 +29,7 @@ set -euo pipefail declare -A PYTHON_VERSIONS PYTHON_VERSIONS["3.7"]="cp37-cp37m" PYTHON_VERSIONS["3.8"]="cp38-cp38" -# TODO(ckl): Enable when macOS solution is in place. -#PYTHON_VERSIONS["3.9"]="cp39-cp39" +PYTHON_VERSIONS["3.9"]="cp39-cp39" readonly -A PYTHON_VERSIONS readonly BAZEL_VERSION='3.7.2' diff --git a/python/tools/distribution/create_release.sh b/python/tools/distribution/create_release.sh index bad62e975d..031f801a58 100755 --- a/python/tools/distribution/create_release.sh +++ b/python/tools/distribution/create_release.sh @@ -23,8 +23,7 @@ set -euo pipefail declare -a PYTHON_VERSIONS= PYTHON_VERSIONS+=("3.7") PYTHON_VERSIONS+=("3.8") -# TODO(ckl): Enable when macOS solution is in place. -#PYTHON_VERSIONS+=("3.9") +PYTHON_VERSIONS+=("3.9") readonly PYTHON_VERSIONS readonly PLATFORM="$(uname | tr '[:upper:]' '[:lower:]')" diff --git a/python/tools/distribution/test_linux_binary_wheels.sh b/python/tools/distribution/test_linux_binary_wheels.sh index 63f02cacee..9f7380682d 100755 --- a/python/tools/distribution/test_linux_binary_wheels.sh +++ b/python/tools/distribution/test_linux_binary_wheels.sh @@ -25,8 +25,7 @@ set -euo pipefail declare -A PYTHON_VERSIONS PYTHON_VERSIONS["3.7"]="cp37-cp37m" PYTHON_VERSIONS["3.8"]="cp38-cp38" -# TODO(ckl): Enable when macOS solution is in place. -#PYTHON_VERSIONS["3.9"]="cp39-cp39" +PYTHON_VERSIONS["3.9"]="cp39-cp39" readonly -A PYTHON_VERSIONS export TINK_SRC_PATH="/tmp/tink"