Skip to content

Commit

Permalink
[python3.10] build python310 wheels (ray-project#24829)
Browse files Browse the repository at this point in the history
build python3.10 wheels for linux windows and mac.
  • Loading branch information
scv119 authored May 16, 2022
1 parent 830af1f commit 2e53f48
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 10 deletions.
6 changes: 4 additions & 2 deletions python/build-wheel-macos-arm64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ DOWNLOAD_DIR=python_downloads

NODE_VERSION="14"
PY_VERSIONS=("3.8.2"
"3.9.1")
"3.9.1"
"3.10.4")
PY_MMS=("3.8"
"3.9")
"3.9"
"3.10")


if [[ -n "${SKIP_DEP_RES}" ]]; then
Expand Down
12 changes: 8 additions & 4 deletions python/build-wheel-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,24 @@ NODE_VERSION="14"
PY_VERSIONS=("3.6.2"
"3.7.0"
"3.8.2"
"3.9.1")
"3.9.1"
"3.10.4")
PY_INSTS=("python-3.6.2-macosx10.6.pkg"
"python-3.7.0-macosx10.6.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"
"3.7"
"3.8"
"3.9")
"3.9"
"3.10")

NUMPY_VERSIONS=("1.14.5"
"1.14.5"
"1.14.5"
"1.19.3")
"1.19.3"
"1.22.0")

./ci/env/install-bazel.sh

Expand Down
6 changes: 4 additions & 2 deletions python/build-wheel-manylinux2014.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ NODE_VERSION="14"
PYTHONS=("cp36-cp36m"
"cp37-cp37m"
"cp38-cp38"
"cp39-cp39")
"cp39-cp39"
"cp310-cp310")

NUMPY_VERSIONS=("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 java-1.8.0-openjdk java-1.8.0-openjdk-devel xz
Expand Down
3 changes: 2 additions & 1 deletion python/build-wheel-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ WORKSPACE_DIR="${ROOT_DIR}/.."

PY_VERSIONS=("3.7"
"3.8"
"3.9")
"3.9"
"3.10")

bazel_preclean() {
"${WORKSPACE_DIR}"/ci/run/bazel.py preclean "mnemonic(\"Genrule\", deps(//:*))"
Expand Down
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

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
# in WORKSPACE file as well.
SUPPORTED_BAZEL = (4, 2, 1)
Expand Down

0 comments on commit 2e53f48

Please sign in to comment.