From 02a58b6b3422d4094694bef0a81b60cc52c9f822 Mon Sep 17 00:00:00 2001 From: Nelle Varoquaux Date: Fri, 25 Jan 2019 11:06:28 +1100 Subject: [PATCH] MAINT install of pinned vers for travis Pinned version of dependencies need to be installed *after* the rest of the packages. This will downgrade them. Else, sometimes, pip tries to installs the wrong version of the package, and fails. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 80519a7b6710..59373034c73a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -134,7 +134,8 @@ install: python -mpip install --upgrade pip setuptools wheel - | # Install dependencies from PyPI. - python -mpip install --upgrade $PRE -r requirements/testing/travis_all.txt $EXTRAREQS $PINNEDVERS + python -mpip install --upgrade $PRE -r requirements/testing/travis_all.txt $EXTRAREQS + python -mpip install --upgrade -r $PINNEDVERS # GUI toolkits are pip-installable only for some versions of Python so # don't fail if we can't install them. Make it easier to check whether the # install was successful by trying to import the toolkit (sometimes, the