Commit Graph

12 Commits

Author SHA1 Message Date
Doug Hellmann 1a73872a28 add lower-constraints job
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>
2018-03-22 17:31:13 -04:00
Andreas Jaeger da517e0ae6 Remove -U from pip install
'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
2017-12-02 19:25:09 +01:00
Andreas Jaeger 626f116b84 Avoid tox_install.sh for constraints support
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
2017-12-01 14:58:01 +01:00
Arundhati Surpur eeda83d507 Removed the older version of python and added 3.5
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
2017-07-19 16:38:45 +05:30
jianghua wang 5185a0265c Fix coverage test errors in os-xenapi
Change-Id: I9fe88a7dfd1bcdb023e14475bc1344013abbdb66
2017-06-02 13:11:10 +01:00
Tony Breeds 1baf2e31e7 Add Constraints support
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
2016-12-21 12:45:47 +11:00
Huan Xie 68c5be4b57 Minor fix for letfovers
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
2016-12-12 02:47:11 -08:00
Jenkins 047b6fca4e Merge "Fix coverage test configuration" 2016-11-18 13:32:21 +00:00
John Hua 2c42ad62de Fix coverage test configuration
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
2016-11-16 10:00:01 +08:00
Huan Xie 496505b353 Add XenAPI.py into os-xenapi repo
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
2016-11-14 01:46:57 -08:00
Huan Xie 95fa8e6929 Add session support for os-xenapi
Change-Id: I18687e701468d5fdb85cdbc02549d051defec507
2016-11-03 20:39:41 -07:00
Bob Ball f244bbdd01 Initial cookiecutter commit
Change-Id: I9a4b455d9493cef4bb23f89b4d9ae697998dca5a
2016-10-18 11:59:22 +01:00