Fix pip package version

The python "cmd2" package installs version 0.9+ on Python 2.7,
which only support Python 3.4+. This causes a dependency error in
the gate due to issue outlined in [0].  We will pre-install a
capped version of "cmd2" that would work with Python 2.7.

[0] https://github.com/python-cmd2/cmd2/issues/421

Depends-On: I34cbde65b74efc2805bd7785f84878783d2badbf

Change-Id: I35c5b1cf2253bd3ab953745a795be8ac42668053
Signed-off-by: Tin Lam <tin@irrational.io>
This commit is contained in:
Tin Lam 2018-05-30 00:42:14 -05:00
parent 4860fe9580
commit e66438b887

View File

@ -16,6 +16,7 @@
set -xe
sudo -H -E pip install "cmd2<=0.8.7"
sudo -H -E pip install python-openstackclient python-heatclient
sudo -H mkdir -p /etc/openstack