From 60909945459dfc76faace3306d767dd9be56b857 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Mon, 29 Jan 2018 15:49:30 -0600 Subject: [PATCH] Make sure IPython<6 is used for Python 2.7 --- tools/ci/travis-install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/ci/travis-install.sh b/tools/ci/travis-install.sh index 6051f03aa9..3ee54af76c 100755 --- a/tools/ci/travis-install.sh +++ b/tools/ci/travis-install.sh @@ -10,6 +10,11 @@ pip install numpy cython # pytest installed by default -- make sure we get latest pip install --upgrade pytest +# IPython stopped supporting Python 2.7 with version 6 +if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then + pip install "ipython<6" +fi + # Pandas stopped supporting Python 3.4 with version 0.21 if [[ "$TRAVIS_PYTHON_VERSION" == "3.4" ]]; then pip install pandas==0.20.3