[python3.10] build python310 wheels (#24829)

build python3.10 wheels for linux windows and mac.
This commit is contained in:
Chen Shen 2022-05-16 12:36:33 -07:00 committed by GitHub
parent 830af1f14d
commit 2e53f48188
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 10 deletions

View file

@ -10,9 +10,11 @@ DOWNLOAD_DIR=python_downloads
NODE_VERSION="14" NODE_VERSION="14"
PY_VERSIONS=("3.8.2" PY_VERSIONS=("3.8.2"
"3.9.1") "3.9.1"
"3.10.4")
PY_MMS=("3.8" PY_MMS=("3.8"
"3.9") "3.9"
"3.10")
if [[ -n "${SKIP_DEP_RES}" ]]; then if [[ -n "${SKIP_DEP_RES}" ]]; then

View file

@ -17,20 +17,24 @@ NODE_VERSION="14"
PY_VERSIONS=("3.6.2" PY_VERSIONS=("3.6.2"
"3.7.0" "3.7.0"
"3.8.2" "3.8.2"
"3.9.1") "3.9.1"
"3.10.4")
PY_INSTS=("python-3.6.2-macosx10.6.pkg" PY_INSTS=("python-3.6.2-macosx10.6.pkg"
"python-3.7.0-macosx10.6.pkg" "python-3.7.0-macosx10.6.pkg"
"python-3.8.2-macosx10.9.pkg" "python-3.8.2-macosx10.9.pkg"
"python-3.9.1-macosx10.9.pkg") "python-3.9.1-macosx10.9.pkg"
"python-3.10.4-macos11.pkg")
PY_MMS=("3.6" PY_MMS=("3.6"
"3.7" "3.7"
"3.8" "3.8"
"3.9") "3.9"
"3.10")
NUMPY_VERSIONS=("1.14.5" NUMPY_VERSIONS=("1.14.5"
"1.14.5" "1.14.5"
"1.14.5" "1.14.5"
"1.19.3") "1.19.3"
"1.22.0")
./ci/env/install-bazel.sh ./ci/env/install-bazel.sh

View file

@ -15,12 +15,14 @@ NODE_VERSION="14"
PYTHONS=("cp36-cp36m" PYTHONS=("cp36-cp36m"
"cp37-cp37m" "cp37-cp37m"
"cp38-cp38" "cp38-cp38"
"cp39-cp39") "cp39-cp39"
"cp310-cp310")
NUMPY_VERSIONS=("1.14.5" NUMPY_VERSIONS=("1.14.5"
"1.14.5" "1.14.5"
"1.14.5" "1.14.5"
"1.19.3") "1.19.3"
"1.22.0")
yum -y install unzip zip sudo yum -y install unzip zip sudo
yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel xz yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel xz

View file

@ -7,7 +7,8 @@ WORKSPACE_DIR="${ROOT_DIR}/.."
PY_VERSIONS=("3.7" PY_VERSIONS=("3.7"
"3.8" "3.8"
"3.9") "3.9"
"3.10")
bazel_preclean() { bazel_preclean() {
"${WORKSPACE_DIR}"/ci/run/bazel.py preclean "mnemonic(\"Genrule\", deps(//:*))" "${WORKSPACE_DIR}"/ci/run/bazel.py preclean "mnemonic(\"Genrule\", deps(//:*))"

View file

@ -21,7 +21,7 @@ import urllib.request
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
SUPPORTED_PYTHONS = [(3, 6), (3, 7), (3, 8), (3, 9)] SUPPORTED_PYTHONS = [(3, 6), (3, 7), (3, 8), (3, 9), (3, 10)]
# When the bazel version is updated, make sure to update it # When the bazel version is updated, make sure to update it
# in WORKSPACE file as well. # in WORKSPACE file as well.
SUPPORTED_BAZEL = (4, 2, 1) SUPPORTED_BAZEL = (4, 2, 1)