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.
Change-Id: Ife046ce4b1056284d1151c84f83697d5690aff62
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
'pip install -U' ugrades specified packages, this is not necessary
since we use constraints, remove the parameter '-U' from the line.
With tools/tox_install.sh - which a previous change of mine removed -
the -U was not harmful, but with the current set up, it might cause
upgrades, so remove it.
Change-Id: Idf7727f4f2e0e46c26ae804c863f85592ab8b21a
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.
This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.
Change-Id: Ic5526236cdeed92a1eb1c1693293e1122636359f
In setup.cfg file the python 3.4 support is removed
and added 3.5
In tox.ini the python 3.5 is added
Change-Id: I90e0e6895d553ecfbd26dc738d106d797d384c83
Adding constraints support to libraries is slightly more complex than
services as the libraries themselves are listed in upper-constraints.txt
which leads to errors that you can't install a specific version and a
constrained version.
This change adds constraints support by also adding a helper script to
edit the constraints to remove os-xenapi.
Change-Id: I250d70b15c47c76f5ae73cb1059815ef0b9e63c9
This patch is to fix the faults and leftovers we found during
test together with nova
1. Add pool back to session
2. Deal with master/slave hosts when creating session
3. Delete version setting in setup.cfg
4. Minor debug log format fix
5. Move XenAPISessionTestCase from nova to os-xenapi,
in file test_session.py
Change-Id: I7d4fabb00fc594f768323cd61e3d2cd83b25141c
This fix tries to solve below issue:
* *.pyc need to be cleared before running coverage test
* Old coverage results need to be cleaned
Change-Id: I2bdfaf4f7023f07fce805b71d256cc3166693826
As XenAPI.py on pypi cannot be compatible with python3, we move it to
os-xenapi repo to make sure XenAPI.py support py2.4/py2.7/py3
Change-Id: Ic2ace8420722f9d755a04099eb038d4c6ba51669