diff options
author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2019-05-04 03:56:45 +0200 |
---|---|---|
committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2019-05-04 03:56:45 +0200 |
commit | cf436daa33234c86ec3adb4c3d7e31b8ffff2dd1 (patch) | |
tree | a5a433e63e50273a1f26b8bf467370358962fa85 | |
parent | b648977bedcfc24dc5340ca5fb2ff4823126419e (diff) | |
download | cherrypy-git-cf436daa33234c86ec3adb4c3d7e31b8ffff2dd1.tar.gz |
🚑 Add a hotfix for tox and pip combo
-rw-r--r-- | tox.ini | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -3,6 +3,11 @@ envlist = python minversion = 2.4 [testenv] +# Hotfix for https://github.com/pypa/pip/issues/6434 +# Based on https://github.com/jaraco/skeleton/commit/123b0b2 +# Check https://github.com/tox-dev/tox/issues/1276 for the final solution +install_command = + python -c 'import subprocess, sys; pip_inst_cmd = sys.executable, "-m", "pip", "install"; subprocess.check_call(pip_inst_cmd + ("pip<19.1", )); subprocess.check_call(pip_inst_cmd + tuple(sys.argv[1:]))' {opts} {packages} usedevelop = True commands = pytest {posargs} |