From 6e0a5f86a803db47d8aa44d552496e0671acea69 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 Depends-On: https://review.opendev.org/707133 --- 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 914793245e..01a1f8a9eb 100755 --- a/tools/fixup_stuff.sh +++ b/tools/fixup_stuff.sh @@ -227,10 +227,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 }