From 63e5e1dd9638173a8f959be07842e445bafcc837 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 28 May 2018 13:21:45 -0700 Subject: [PATCH] Cap cmd2 to < 0.9.0 cmd2>=0.9.0 now require python3.4 or greater. We install ansible under python2 (for now) so we need to cap the cmd2 install to make the ansible installation function. Upstream bug at https://github.com/python-cmd2/cmd2/issues/421 Change-Id: I5ec830e092646a3626cacea264de9ad81fcdd124 --- devstack-vm-gate-wrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack-vm-gate-wrap.sh b/devstack-vm-gate-wrap.sh index a0c84f06..42bfb555 100755 --- a/devstack-vm-gate-wrap.sh +++ b/devstack-vm-gate-wrap.sh @@ -477,7 +477,7 @@ virtualenv /tmp/ansible # easy_install. Hope is this is generally more reliable. /tmp/ansible/bin/pip install pbr /tmp/ansible/bin/pip install ansible==$ANSIBLE_VERSION \ - devstack-tools==$DSTOOLS_VERSION ara + devstack-tools==$DSTOOLS_VERSION ara 'cmd2<0.9.0' export ANSIBLE=/tmp/ansible/bin/ansible export ANSIBLE_PLAYBOOK=/tmp/ansible/bin/ansible-playbook export ANSIBLE_CONFIG="$WORKSPACE/ansible.cfg"