From 3fc1e22cc2bf43d0266b9193e024c2e9e722a600 Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Sat, 26 Jan 2019 23:03:59 +0100 Subject: tests: temporary pin pip to fix the Python 2.7 job --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index a2f850df..a31cb1c5 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,7 @@ deps=-rtests/requirements.txt # Changed from default (`python -m pip ...`) # to prevent the current working directory # from being added to `sys.path`. -install_command={envbindir}/pip install {opts} {packages} +install_command=python -c 'import sys; sys.path.remove(""); from pkg_resources import load_entry_point; load_entry_point("pip", "console_scripts", "pip")()' install {opts} {packages} # Same as above. list_dependencies_command={envbindir}/pip freeze setenv=COVERAGE_FILE={toxworkdir}/.coverage.{envname} -- cgit v1.2.3