Override virtualenv to a version < 20
There are errors with the recently released virtualenv 20.0.1 which comes preinstalled on gate images prepared by infra. As a hotfix override to some previous version until we can find the real fix. Change-Id: I3b447557f013934719aa357efeffb093c7f6bd95
This commit is contained in:
@@ -232,10 +232,14 @@ function fixup_fedora {
|
||||
# install.d/pip-and-virtualenv-source-install/04-install-pip
|
||||
# [2] https://bugzilla.redhat.com/show_bug.cgi?id=1477823
|
||||
|
||||
# TODO(jh): virtualenv 20.0.1 is breaking things in a yet unknown way.
|
||||
# Install previous virtualenv over what infra preinstalls as a hotfix.
|
||||
function fixup_virtualenv {
|
||||
if [[ ! -f /etc/ci/mirror_info.sh ]]; then
|
||||
install_package python-virtualenv
|
||||
pip_install -U --force-reinstall virtualenv
|
||||
pip_install -U --force-reinstall 'virtualenv<20'
|
||||
else
|
||||
pip_install -U --force-reinstall 'virtualenv<20'
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user