From 91231a3bf0a2b458ef1245e6aafdea94617720f9 Mon Sep 17 00:00:00 2001 From: Nelle Varoquaux Date: Fri, 25 Jan 2019 10:35:38 +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 | 5 +++-- .../testing/{travis35.txt => travis35_pinned_vers.txt} | 0 2 files changed, 3 insertions(+), 2 deletions(-) rename requirements/testing/{travis35.txt => travis35_pinned_vers.txt} (100%) diff --git a/.travis.yml b/.travis.yml index 3893843c646d..e8529d3b6ca0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -80,7 +80,7 @@ matrix: - EXTRAREQS='-r requirements/testing/travis_flake8.txt' - python: 3.5 env: - - PINNEDVERS='-c requirements/testing/travis35.txt' + - PINNEDVERS='-c requirements/testing/travis35_pinned_vers.txt' - python: 3.6 env: - DELETE_FONT_CACHE=1 @@ -131,7 +131,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 $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 diff --git a/requirements/testing/travis35.txt b/requirements/testing/travis35_pinned_vers.txt similarity index 100% rename from requirements/testing/travis35.txt rename to requirements/testing/travis35_pinned_vers.txt