mirror of
https://github.com/wassname/ray.git
synced 2026-09-10 12:38:43 +08:00
Python 3.8 compatibility (#7754)
This commit is contained in:
@@ -15,17 +15,21 @@ DOWNLOAD_DIR=python_downloads
|
||||
|
||||
PY_VERSIONS=("3.5.3"
|
||||
"3.6.1"
|
||||
"3.7.0")
|
||||
"3.7.0"
|
||||
"3.8.2")
|
||||
PY_INSTS=("python-3.5.3-macosx10.6.pkg"
|
||||
"python-3.6.1-macosx10.6.pkg"
|
||||
"python-3.7.0-macosx10.6.pkg")
|
||||
"python-3.7.0-macosx10.6.pkg"
|
||||
"python-3.8.2-macosx10.9.pkg")
|
||||
PY_MMS=("3.5"
|
||||
"3.6"
|
||||
"3.7")
|
||||
"3.7"
|
||||
"3.8")
|
||||
|
||||
# The minimum supported numpy version is 1.14, see
|
||||
# https://issues.apache.org/jira/browse/ARROW-3141
|
||||
NUMPY_VERSIONS=("1.14.5"
|
||||
"1.14.5"
|
||||
"1.14.5"
|
||||
"1.14.5")
|
||||
|
||||
@@ -76,7 +80,7 @@ for ((i=0; i<${#PY_VERSIONS[@]}; ++i)); do
|
||||
$PIP_CMD install -q setuptools_scm==3.1.0
|
||||
# Fix the numpy version because this will be the oldest numpy version we can
|
||||
# support.
|
||||
$PIP_CMD install -q numpy==$NUMPY_VERSION cython==0.29.0
|
||||
$PIP_CMD install -q numpy==$NUMPY_VERSION cython==0.29.15
|
||||
# Install wheel to avoid the error "invalid command 'bdist_wheel'".
|
||||
$PIP_CMD install -q wheel
|
||||
# Set the commit SHA in __init__.py.
|
||||
|
||||
Reference in New Issue
Block a user