virtualenv>=20 contains a big refactor of the inner workings of virtualenv which broke venv-update. This PR accounts for the major changes and requires virtualenv>=20 moving forward.
Notable changes:
virtualenv>=20 is required
The old adjust_options hook doesn't exist anymore in virtualenv, so the logic to check if an old virtualenv is valid needs to be done before virtualenv is invoked
Checking if --system-site-packages was passed to virtualenv is now done by checking for a config in the new pyenv.cfg file
virtualenv>=20 contains a big refactor of the inner workings of virtualenv which broke venv-update. This PR accounts for the major changes and requires virtualenv>=20 moving forward.
Notable changes:
adjust_options
hook doesn't exist anymore in virtualenv, so the logic to check if an old virtualenv is valid needs to be done before virtualenv is invoked--system-site-packages
was passed to virtualenv is now done by checking for a config in the new pyenv.cfg fileFixes #231.