Pin setuptools to <8.0

Setuptools 8.0 changed the way it parses version strings and many of our
openstack packages break when using it. Pinning this for now until our
packages are fixed.

Closes-Bug: #1402305

Change-Id: If3300a6b1ef1c633fc339f884e9dab0d82bc0720
This commit is contained in:
Gregory Haynes 2014-12-14 10:41:08 -08:00
parent 5e2725f372
commit 01694b1547
4 changed files with 4 additions and 3 deletions

View File

@ -19,7 +19,7 @@ $VENV/bin/pip install -U pip
# Need setuptools>=1.0 to manage connections when
# downloading from pypi using http_proxy and https_proxy
$VENV/bin/pip install -U 'setuptools>=1.0'
$VENV/bin/pip install -U 'setuptools>=1.0,<8.0'
# bug #1293812 : Avoid easy_install triggering on pbr.
$VENV/bin/pip install -U 'pbr>=0.6,<1.0'
$VENV/bin/pip install -U heat-cfntools

View File

@ -62,7 +62,7 @@ if [ -n "$client_manifest" ]; then
else
# Need setuptools>=1.0 to manage connections when
# downloading from pypi using http_proxy and https_proxy
pip install -U 'setuptools>=1.0'
pip install -U 'setuptools>=1.0,<8.0'
# bug #1293812 : Avoid easy_install triggering on pbr.
pip install -U 'pbr>=0.5.21,<1.0'

View File

@ -35,7 +35,7 @@ function python_install() {
# doesn't manage correctly HTTPS sockets when downloading pbr from
# https://pypi.python.org/simple/ if using http_proxy and
# https_proxy envvars
pip install -U 'setuptools>=1.0'
pip install -U 'setuptools>=1.0,<8.0'
# bug #1293812 : Avoid easy_install triggering on pbr.
pip install -U 'pbr>=0.5.21,<1.0'

View File

@ -3,4 +3,5 @@
set -eux
python /tmp/get-pip.py
pip install -U 'setuptools<8.0'
pip install virtualenv