dd08b76fc9
Using test-requirements to get a specific version of nova for tests is preventing DevStack from installing blazar-nova, because nova is already added to upper-constraints.txt as "-e file:///opt/stack/nova#egg=nova". DevStack shows the following error message: Could not satisfy constraints for 'nova': installation from path or url cannot be constrained to a version Import tools/tox_install.sh from Neutron repos and adapt it to install Nova in tox environments used for unit tests. Minimal modifications were made to this script in order to easily track changes from Neutron repos. tox.ini is modified to use this script instead of pip. For pep8 checks, we exclude the .tmp directory where nova is cloned in gate jobs, otherwise the nova source is checked as well and triggers failures. See [1] and [2] for more details about the issue fixed by this commit. [1] https://bugs.launchpad.net/devstack/+bug/1540328/comments/13 [2] https://review.openstack.org/#/c/405630/1 Closes-Bug: #1641577 Change-Id: I542461e609866b21f597b0c4a2954807c5b8f8b7
19 lines
527 B
Plaintext
19 lines
527 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.
|
|
|
|
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
|
|
|
|
nose # LGPL
|
|
mock>=2.0 # BSD
|
|
mox>=0.5.3 # Apache-2.0
|
|
sphinx!=1.3b1,<1.4,>=1.2.1 # BSD
|
|
sphinxcontrib-httpdomain # BSD
|
|
|
|
fixtures>=3.0.0 # Apache-2.0/BSD
|
|
testrepository>=0.0.18 # Apache-2.0/BSD
|
|
testtools>=1.4.0 # MIT
|
|
coverage>=4.0 # Apache-2.0
|
|
|
|
oslotest>=1.10.0 # Apache-2.0
|