Pin Ara install deps

The old version of Ara used by d-g doesn't cap off dependencies which
are now no longer working together. We manually cap things off in our
Pip install step.

Note users should stop using this tool. There are alternatives like
zuul-jobs' ensure-devstack role [0] for Zuul/Ansible users. The issue is
that d-g is not very maintainable and on its last legs for the openstack
until the Xena release is no longer maintained. This is noted in the d-g
README.rst file.

[0] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-devstack

Story: 2009973
Change-Id: I781ce6e2be88d6724c6908490e17ba8acaa3b911
This commit is contained in:
Clark Boylan 2022-04-07 08:38:26 -07:00
parent 0596760d94
commit 8e3d669ada
1 changed files with 2 additions and 1 deletions

View File

@ -527,7 +527,8 @@ virtualenv -p python${PYTHON_VER} /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<1.0.0' 'cmd2<0.9.0'
devstack-tools==$DSTOOLS_VERSION 'ara<1.0.0' 'cmd2<0.9.0' \
'flask<2.0.0' 'alembic<1.5.0' 'importlib-resources<5.1.3'
export ANSIBLE=/tmp/ansible/bin/ansible
export ANSIBLE_PLAYBOOK=/tmp/ansible/bin/ansible-playbook
export ANSIBLE_CONFIG="$WORKSPACE/ansible.cfg"