mirror of
https://github.com/vale981/ray
synced 2025-03-05 10:01:43 -05:00
[python3.10] build python310 wheels (#24829)
build python3.10 wheels for linux windows and mac.
This commit is contained in:
parent
830af1f14d
commit
2e53f48188
5 changed files with 19 additions and 10 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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(//:*))"
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue