Commit 3fc1e22c authored by Benoit Pierre's avatar Benoit Pierre

tests: temporary pin pip to fix the Python 2.7 job

parent f8b9c426
...@@ -10,3 +10,4 @@ coverage>=4.5.1 ...@@ -10,3 +10,4 @@ coverage>=4.5.1
pytest-cov>=2.5.1 pytest-cov>=2.5.1
paver; python_version>="3.6" paver; python_version>="3.6"
futures; python_version=="2.7" futures; python_version=="2.7"
pip==18.1 # Temporary workaround for #1644.
...@@ -12,7 +12,7 @@ deps=-rtests/requirements.txt ...@@ -12,7 +12,7 @@ deps=-rtests/requirements.txt
# Changed from default (`python -m pip ...`) # Changed from default (`python -m pip ...`)
# to prevent the current working directory # to prevent the current working directory
# from being added to `sys.path`. # 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. # Same as above.
list_dependencies_command={envbindir}/pip freeze list_dependencies_command={envbindir}/pip freeze
setenv=COVERAGE_FILE={toxworkdir}/.coverage.{envname} setenv=COVERAGE_FILE={toxworkdir}/.coverage.{envname}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment