From 40c9b9cd60810dd8e233bebfd1b41617be3f3579 Mon Sep 17 00:00:00 2001 From: Philipp Moritz Date: Sat, 31 Mar 2018 10:33:40 -0700 Subject: [PATCH] Fix the setuptools_scm issue (#1784) --- python/build-wheel-macos.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python/build-wheel-macos.sh b/python/build-wheel-macos.sh index f7229b348..7559fd02c 100755 --- a/python/build-wheel-macos.sh +++ b/python/build-wheel-macos.sh @@ -47,6 +47,11 @@ for ((i=0; i<${#PY_VERSIONS[@]}; ++i)); do PYTHON_EXE=$MACPYTHON_PY_PREFIX/$PY_MM/bin/python$PY_MM PIP_CMD="$(dirname $PYTHON_EXE)/pip$PY_MM" + pushd /tmp + # Install latest version of pip to avoid brownouts + curl https://bootstrap.pypa.io/get-pip.py | $PYTHON_EXE + popd + pushd python # Install setuptools_scm because otherwise when building the wheel for # Python 3.6, we see an error.