Stop testing Python 2.7 and building Python 2.7 wheels. (#6601)

This commit is contained in:
Robert Nishihara
2019-12-27 20:47:49 -08:00
committed by Philipp Moritz
parent 8724e5ffd5
commit 96f2f8ff10
9 changed files with 12 additions and 87 deletions
+3 -7
View File
@@ -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=("2.7.13"
"3.5.3"
PY_VERSIONS=("3.5.3"
"3.6.1"
"3.7.0")
PY_INSTS=("python-2.7.13-macosx10.6.pkg"
"python-3.5.3-macosx10.6.pkg"
PY_INSTS=("python-3.5.3-macosx10.6.pkg"
"python-3.6.1-macosx10.6.pkg"
"python-3.7.0-macosx10.6.pkg")
PY_MMS=("2.7"
"3.5"
PY_MMS=("3.5"
"3.6"
"3.7")
# 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 -9
View File
@@ -11,15 +11,13 @@ echo 10
EOF
chmod +x /usr/bin/nproc
PYTHONS=("cp27-cp27mu"
"cp35-cp35m"
PYTHONS=("cp35-cp35m"
"cp36-cp36m"
"cp37-cp37m")
# 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")
@@ -29,12 +27,6 @@ sudo apt-get install unzip
# Put bazel into the PATH
export PATH=$PATH:/root/bin
# Remove this old Python 2.4.3 executable, and make the "python2" command find
# a newer version of Python. We need this for autogenerating some files for the
# UI.
rm -f /usr/bin/python2
ln -s /opt/python/cp27-cp27m/bin/python2 /usr/bin/python2
# Install and use the latest version of Node.js in order to build the dashboard.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
source $HOME/.nvm/nvm.sh