mirror of
https://github.com/wassname/ray.git
synced 2026-09-10 12:38:43 +08:00
Drop support for Python 3.5. (#9622)
* Drop support for Python 3.5. * Update setup.py
This commit is contained in:
@@ -85,7 +85,7 @@ if [[ "$platform" == "linux" ]]; then
|
||||
|
||||
# Check that the other wheels are present.
|
||||
NUMBER_OF_WHEELS=$(ls -1q "$ROOT_DIR"/../../.whl/*.whl | wc -l)
|
||||
if [[ "$NUMBER_OF_WHEELS" != "4" ]]; then
|
||||
if [[ "$NUMBER_OF_WHEELS" != "3" ]]; then
|
||||
echo "Wrong number of wheels found."
|
||||
ls -l "$ROOT_DIR/../.whl/"
|
||||
exit 2
|
||||
@@ -93,9 +93,8 @@ if [[ "$platform" == "linux" ]]; then
|
||||
|
||||
elif [[ "$platform" == "macosx" ]]; then
|
||||
MACPYTHON_PY_PREFIX=/Library/Frameworks/Python.framework/Versions
|
||||
PY_WHEEL_VERSIONS=("35" "36" "37" "38")
|
||||
PY_MMS=("3.5"
|
||||
"3.6"
|
||||
PY_WHEEL_VERSIONS=("36" "37" "38")
|
||||
PY_MMS=("3.6"
|
||||
"3.7"
|
||||
"3.8")
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ This document describes the process for creating new releases.
|
||||
|
||||
The results should be checked in under ``doc/dev/release_logs/<version>``.
|
||||
|
||||
You can also get the performance change rate from the previous version using
|
||||
You can also get the performance change rate from the previous version using
|
||||
microbenchmark_analysis.py
|
||||
|
||||
5. **Resolve release-blockers:** If a release blocking issue arises, there are
|
||||
@@ -121,14 +121,14 @@ This document describes the process for creating new releases.
|
||||
export RAY_VERSION=... # e.g., 0.7.0
|
||||
|
||||
# Linux Wheels
|
||||
pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/releases/$RAY_VERSION/$RAY_HASH/ray-$RAY_VERSION-cp35-cp35m-manylinux1_x86_64.whl
|
||||
pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/releases/$RAY_VERSION/$RAY_HASH/ray-$RAY_VERSION-cp36-cp36m-manylinux1_x86_64.whl
|
||||
pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/releases/$RAY_VERSION/$RAY_HASH/ray-$RAY_VERSION-cp37-cp37m-manylinux1_x86_64.whl
|
||||
pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/releases/$RAY_VERSION/$RAY_HASH/ray-$RAY_VERSION-cp38-cp38-manylinux1_x86_64.whl
|
||||
|
||||
# Mac Wheels
|
||||
pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/releases/$RAY_VERSION/$RAY_HASH/ray-$RAY_VERSION-cp35-cp35m-macosx_10_13_intel.whl
|
||||
pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/releases/$RAY_VERSION/$RAY_HASH/ray-$RAY_VERSION-cp36-cp36m-macosx_10_13_intel.whl
|
||||
pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/releases/$RAY_VERSION/$RAY_HASH/ray-$RAY_VERSION-cp37-cp37m-macosx_10_13_intel.whl
|
||||
pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/releases/$RAY_VERSION/$RAY_HASH/ray-$RAY_VERSION-cp38-cp38-macosx_10_13_x86_64.whl
|
||||
|
||||
This can be tested if you use the script source ./bin/download_wheels.sh
|
||||
|
||||
@@ -162,9 +162,9 @@ This document describes the process for creating new releases.
|
||||
|
||||
Do this at least for MacOS and Linux.
|
||||
|
||||
This process is automated. Run ./bin/pip_download_test.sh.
|
||||
This will download the ray from the test pypi repository and run the minimum
|
||||
sanity check from all the Python version supported. (3.5, 3.6, 3.7, 3.8)
|
||||
This process is automated. Run ./bin/pip_download_test.sh.
|
||||
This will download the ray from the test pypi repository and run the minimum
|
||||
sanity check from all the Python version supported. (3.6, 3.7, 3.8)
|
||||
|
||||
|
||||
9. **Upload to PyPI:** Now that you've tested the wheels on the PyPI test
|
||||
|
||||
@@ -37,18 +37,15 @@ instead of the ones above:
|
||||
`Linux Python 3.8`_ `MacOS Python 3.8`_ `Windows Python 3.8`_
|
||||
`Linux Python 3.7`_ `MacOS Python 3.7`_ `Windows Python 3.7`_
|
||||
`Linux Python 3.6`_ `MacOS Python 3.6`_ `Windows Python 3.6`_
|
||||
`Linux Python 3.5`_ `MacOS Python 3.5`_
|
||||
=================== =================== ======================
|
||||
|
||||
.. _`Linux Python 3.8`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp38-cp38-manylinux1_x86_64.whl
|
||||
.. _`Linux Python 3.7`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp37-cp37m-manylinux1_x86_64.whl
|
||||
.. _`Linux Python 3.6`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-manylinux1_x86_64.whl
|
||||
.. _`Linux Python 3.5`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp35-cp35m-manylinux1_x86_64.whl
|
||||
|
||||
.. _`MacOS Python 3.8`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp38-cp38-macosx_10_13_x86_64.whl
|
||||
.. _`MacOS Python 3.7`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp37-cp37m-macosx_10_13_intel.whl
|
||||
.. _`MacOS Python 3.6`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-macosx_10_13_intel.whl
|
||||
.. _`MacOS Python 3.5`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp35-cp35m-macosx_10_13_intel.whl
|
||||
|
||||
.. _`Windows Python 3.8`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp38-cp38-win_amd64.whl
|
||||
.. _`Windows Python 3.7`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp37-cp37m-win_amd64.whl
|
||||
|
||||
@@ -13,23 +13,19 @@ MACPYTHON_URL=https://www.python.org/ftp/python
|
||||
MACPYTHON_PY_PREFIX=/Library/Frameworks/Python.framework/Versions
|
||||
DOWNLOAD_DIR=python_downloads
|
||||
|
||||
PY_VERSIONS=("3.5.3"
|
||||
"3.6.1"
|
||||
PY_VERSIONS=("3.6.1"
|
||||
"3.7.0"
|
||||
"3.8.2")
|
||||
PY_INSTS=("python-3.5.3-macosx10.6.pkg"
|
||||
"python-3.6.1-macosx10.6.pkg"
|
||||
PY_INSTS=("python-3.6.1-macosx10.6.pkg"
|
||||
"python-3.7.0-macosx10.6.pkg"
|
||||
"python-3.8.2-macosx10.9.pkg")
|
||||
PY_MMS=("3.5"
|
||||
"3.6"
|
||||
PY_MMS=("3.6"
|
||||
"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")
|
||||
|
||||
|
||||
@@ -11,15 +11,13 @@ echo 10
|
||||
EOF
|
||||
chmod +x /usr/bin/nproc
|
||||
|
||||
PYTHONS=("cp35-cp35m"
|
||||
"cp36-cp36m"
|
||||
PYTHONS=("cp36-cp36m"
|
||||
"cp37-cp37m"
|
||||
"cp38-cp38")
|
||||
|
||||
# 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")
|
||||
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ logger = logging.getLogger(__name__)
|
||||
# before these files have been created, so we have to move the files
|
||||
# manually.
|
||||
|
||||
SUPPORTED_PYTHONS = [(3, 5), (3, 6), (3, 7), (3, 8)]
|
||||
SUPPORTED_PYTHONS = [(3, 6), (3, 7), (3, 8)]
|
||||
SUPPORTED_BAZEL = (3, 2, 0)
|
||||
|
||||
ROOT_DIR = os.path.dirname(__file__)
|
||||
|
||||
Reference in New Issue
Block a user