From e66438b887a29c91f51b5b1658f623f12b7c9804 Mon Sep 17 00:00:00 2001 From: Tin Lam Date: Wed, 30 May 2018 00:42:14 -0500 Subject: [PATCH] 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 --- tools/deployment/common/setup-client.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/deployment/common/setup-client.sh b/tools/deployment/common/setup-client.sh index 0437b4d802..400c5b62b7 100755 --- a/tools/deployment/common/setup-client.sh +++ b/tools/deployment/common/setup-client.sh @@ -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