From 432503259f5e624afdabd9dacc9d9b367dd95e96 Mon Sep 17 00:00:00 2001 From: Chris Hoge Date: Tue, 12 Feb 2019 01:00:47 +0000 Subject: [PATCH] Fix Loci build by temporarily pinning virtualenv The 16.4.0 release of virtualenv[1] breaks Loci builds by changing the handling of symlinks[2]. This patch pins the virtualenv version until a more robust and permanent fix can be implemented [1] https://virtualenv.pypa.io/en/stable/changes/#v16-4-0-2019-02-09 [2] http://lists.openstack.org/pipermail/openstack-discuss/2019-February/002592.html Change-Id: I15fe76e0e3b027dd207010473e35a55b288c46e6 --- scripts/setup_pip.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/setup_pip.sh b/scripts/setup_pip.sh index 77eceda..292d748 100755 --- a/scripts/setup_pip.sh +++ b/scripts/setup_pip.sh @@ -15,6 +15,10 @@ if (( $(${TMP_VIRTUALENV} --version | cut -d. -f1) >= 14 )); then fi ${TMP_VIRTUALENV} --extra-search-dir=/tmp/wheels ${SETUPTOOLS} /tmp/venv source /tmp/venv/bin/activate -pip install --upgrade ${PIP_ARGS} virtualenv + +# TODO: Remove virtualenv version pinning once a suitable fix is found +# to this issue: +# http://lists.openstack.org/pipermail/openstack-discuss/2019-February/002592.html +pip install --upgrade ${PIP_ARGS} virtualenv==16.3.0 hash -r virtualenv --extra-search-dir=/tmp/wheels /var/lib/openstack