b526e21436
Create a tox environment for running the unit tests against the lower bounds of the dependencies. Create a lower-constraints.txt to be used to enforce the lower bounds in those tests. Add openstack-tox-lower-constraints job to the zuul configuration. See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html for more details. monasca-ui specific changes: - Unlike other projects, monasca-ui does not support python3 unit tests yet. python2.7 is used as basepython. This should be updated to python3 later. - Bump the the minimum version of python-monascaclient to 1.8.0 to pass test_client unit tests. - nose-exclude needs to bumped to 0.5.0 to run all existing unit tests. lower-constraints.txt is modified to match the latest horizon requirements https://review.openstack.org/#/c/555491/: - unit tests fails with Django 1.8. It passes with Django 1.11. Horizon Rocky bumped the Django min version to >=1.11, so it makes sense to bump the Django min version to 1.11. - django-babel needs to bumped to 0.6.2 to support Django 1.11 and 2.0. https://review.openstack.org/555402 allows us to bump lower requirements. Co-Authored-By: Akihiro Motoki <amotoki@gmail.com> Change-Id: Ifd967b598db259429cc83046ae88abaf3d50e081 Depends-On: https://review.openstack.org/555034 Depends-On: https://review.openstack.org/555402 Signed-off-by: Doug Hellmann <doug@doughellmann.com> Signed-off-by: Akihiro Motoki <amotoki@gmail.com>
8 lines
334 B
Plaintext
8 lines
334 B
Plaintext
# The order of packages is significant, because pip processes them in the order
|
|
# of appearance. Changing the order has an impact on the overall integration
|
|
# process, which may cause wedges in the gate later.
|
|
oslo.log>=3.36.0 # Apache-2.0
|
|
python-monascaclient>=1.8.0 # Apache-2.0
|
|
Django<2.0,>=1.11 # BSD
|
|
horizon>=13.0.0 # Apache-2.0
|