From bc7471fc20cd4d52f59f13823ea76aa7f62f4857 Mon Sep 17 00:00:00 2001 From: Tom Parker-Shemilt Date: Sun, 15 Mar 2020 12:02:39 +0000 Subject: [PATCH] Install a explicit particular Python version --- travis/macos-install.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/travis/macos-install.sh b/travis/macos-install.sh index c4edb10..7d71a92 100755 --- a/travis/macos-install.sh +++ b/travis/macos-install.sh @@ -3,20 +3,16 @@ set -ex export HOMEBREW_NO_INSTALL_CLEANUP=1 -brew update -# An error occurs when upgrading Python, but appears to be benign, hence the "|| true" -# -# Error: undefined method `any?' for nil:NilClass -# /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:227:in `depends_on' -brew upgrade python || true +# Python 3.7.4 with 10.12 bottle +brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/e9004bd764c9436750a50e0b428548f68fe6a38a/Formula/python.rb which python3 python3 --version which pip3 pip3 --version -# Explicitly install Qt 5.13.1 as that has both 10.12 compatibility, and a pre-built bottle +# Explicitly install Qt 5.13.1 as that has both 10.12 compatibility, and a pre-built bottle brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/dcc34dd3cb24cb4f7cfa0047ccdb712d7cc4c6e4/Formula/qt.rb brew install albertosottile/syncplay/pyside