From 5fbc2eeac596041569d3c50ec3d8dec2b23870ba Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Mon, 22 Oct 2018 23:24:01 +0200 Subject: [PATCH] CI/Travis/macOS: use default Travis-provided python/pip Despite #9095, `brew upgrade python` broke again, somehow. We should not bother attempting to force a python version. Instead use whatever python Travis provides on the macOS image. --- ci/before_install.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ci/before_install.sh b/ci/before_install.sh index 2a8eb9ce1f..86dd78af48 100755 --- a/ci/before_install.sh +++ b/ci/before_install.sh @@ -9,8 +9,6 @@ fi if [[ "${TRAVIS_OS_NAME}" == osx ]]; then >/dev/null brew update - echo "Upgrade Python 3" - >/dev/null brew upgrade python fi echo 'python info:' @@ -27,7 +25,7 @@ echo 'python info:' if [[ "${TRAVIS_OS_NAME}" == osx ]]; then echo "Upgrade Python 3 pip" - pip3 -q install --user --upgrade pip + python3 -m pip -q install --user --upgrade pip else echo "Upgrade Python 2 pip" python2.7 -m pip -q install --user --upgrade pip