We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51f1389 commit 123b0b2Copy full SHA for 123b0b2
pin-pip.py
@@ -0,0 +1,20 @@
1
+"""
2
+Downgrade to pip 19.0 before installing requirements, working
3
+around limitations introduced in 19.1 (ref
4
+https://github.com/pypa/pip/issues/6434)
5
6
+
7
+import sys
8
+import subprocess
9
+import shlex
10
11
12
+def main():
13
+ subprocess.check_call(shlex.split(
14
+ 'python -m pip install pip<19.1'
15
+ ))
16
17
+ 'python -m pip install') + sys.argv[1:])
18
19
20
+__name__ == '__main__' and main()
tox.ini
@@ -5,6 +5,7 @@ minversion = 3.2
tox_pip_extensions_ext_venv_update = true
[testenv]
+install_command = python pin-pip.py {opts} {packages}
deps =
setuptools>=31.0.1
commands =
0 commit comments