Pin cmd2 to the last python2 version of the library

The cmd2-0.9.0 is python3-only and the rally venv is built
unconstrained, so it's trying to bring in the latest version
which is incompatible with python2. We pin the library to
ensure that the venv build completes correctly.

We also re-arrange the package list to be alphabetically
sorted.

Depends-On: https://review.openstack.org/570879
Change-Id: I1e259ce98fc8517c0cd00a04d6fe7b3f0703f5b4
This commit is contained in:
Jesse Pretorius 2018-05-29 09:49:25 +01:00 committed by Jesse Pretorius (odyssey4me)
parent c351910840
commit 5b96496399
2 changed files with 10 additions and 2 deletions

View File

@ -51,10 +51,11 @@ rally_requires_pip_packages:
- virtualenv
rally_pip_packages:
- setuptools
- ansible==2.3.2.0
- cmd2<0.9.0 # >=0.9.0 is python3 only
- pymysql
- rally
- ansible==2.3.2.0
- setuptools
# The inventory group where Rally will be installed.
# This variable is used by the repo_build process to determine

View File

@ -0,0 +1,7 @@
---
issues:
- |
All OSA releases earlier than 17.0.5, 16.0.4, and 15.1.22 will fail to build the
rally venv due to the release of the new cmd2-0.9.0 python library. Deployers are
encouraged to update to the latest OSA release which pins to an appropriate version
which is compatible with python2.