From 9620336afe364066e9fd08bc03ce9c015320fe34 Mon Sep 17 00:00:00 2001 From: Lonnie Liu <95255098+aslonnie@users.noreply.github.com> Date: Thu, 30 Nov 2023 13:25:47 -0800 Subject: [PATCH] fix mac wheel building (#41536) Signed-off-by: Lonnie Liu --- python/build-wheel-macos.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python/build-wheel-macos.sh b/python/build-wheel-macos.sh index 42dfd829c31a..cd661a9c01fc 100755 --- a/python/build-wheel-macos.sh +++ b/python/build-wheel-macos.sh @@ -17,8 +17,7 @@ if [ "$(uname -m)" = "arm64" ]; then "3.10" "3.11") else - PY_MMS=("3.7" - "3.8" + PY_MMS=("3.8" "3.9" "3.10" "3.11") @@ -94,6 +93,8 @@ for ((i=0; i<${#PY_MMS[@]}; ++i)); do echo "TRAVIS_COMMIT variable is not set, getting the current commit from git." TRAVIS_COMMIT=$(git rev-parse HEAD) fi + # Pin the commit to the last commit. + TRAVIS_COMMIT="82a8df138fe7fcc5c42536ebf26e8c3665704fee" sed -i .bak "s/{{RAY_COMMIT_SHA}}/$TRAVIS_COMMIT/g" ray/__init__.py && rm ray/__init__.py.bak