From a05fc211ed8b6d265a296b4ce549cf7e685899b1 Mon Sep 17 00:00:00 2001 From: "Dr. Jens Harbott" Date: Tue, 11 Feb 2020 11:09:01 +0000 Subject: [PATCH] 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 --- tools/fixup_stuff.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/fixup_stuff.sh b/tools/fixup_stuff.sh index 90b2c8bf1f..eeed14ab2f 100755 --- a/tools/fixup_stuff.sh +++ b/tools/fixup_stuff.sh @@ -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 }