From 1ddfacbad1c8dbbbcf6527e16bfae0a93749a2fb Mon Sep 17 00:00:00 2001 From: Jason Rhinelander Date: Sat, 10 Mar 2018 13:30:29 -0400 Subject: [PATCH] Fix for Python3 via brew Apparently with homebrew the correct package for python3 is now just `python`; python 2 was relegated to 'python@2', and `python3` is an alias for `python` (which needs to be upgraded rather than installed). --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d1ebdb0b2..abbd79efd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -138,7 +138,7 @@ before_install: PY_CMD=python$PYTHON if [ "$TRAVIS_OS_NAME" = "osx" ]; then if [ "$PY" = "3" ]; then - brew update && brew install python$PY; + brew update && brew upgrade python else curl -fsSL https://bootstrap.pypa.io/get-pip.py | $PY_CMD - --user fi