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
This commit is contained in:
Chris Hoge 2019-02-12 01:00:47 +00:00
parent c94e1dfc86
commit 432503259f
1 changed files with 5 additions and 1 deletions

View File

@ -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