Skip to content

Commit

Permalink
venv-update has compatibility issues with virtualenv 20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ipwnponies committed Mar 13, 2020
1 parent dcfe123 commit 7604306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/venv-update
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def exec_scratch_virtualenv(args):
scratch_python = venv_python(scratch.venv)
# TODO: do we allow user-defined override of which version of virtualenv to install?
tmp = scratch.src + '.tmp'
run((scratch_python, '-m', 'pip.__main__', 'install', 'virtualenv', '--target', tmp))
run((scratch_python, '-m', 'pip.__main__', 'install', 'virtualenv<20', '--target', tmp))

from os import rename
rename(tmp, scratch.src)
Expand Down

0 comments on commit 7604306

Please sign in to comment.