Browse Source

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
Chris Hoge 2 months ago
parent
commit
432503259f
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      scripts/setup_pip.sh

+ 5
- 1
scripts/setup_pip.sh View File

@@ -15,6 +15,10 @@ if (( $(${TMP_VIRTUALENV} --version | cut -d. -f1) >= 14 )); then
15 15
 fi
16 16
 ${TMP_VIRTUALENV} --extra-search-dir=/tmp/wheels ${SETUPTOOLS} /tmp/venv
17 17
 source /tmp/venv/bin/activate
18
-pip install --upgrade ${PIP_ARGS} virtualenv
18
+
19
+# TODO: Remove virtualenv version pinning once a suitable fix is found
20
+# to this issue:
21
+# http://lists.openstack.org/pipermail/openstack-discuss/2019-February/002592.html
22
+pip install --upgrade ${PIP_ARGS} virtualenv==16.3.0
19 23
 hash -r
20 24
 virtualenv --extra-search-dir=/tmp/wheels /var/lib/openstack

Loading…
Cancel
Save