diff options
author | Tony Breeds <tony@bakeyournoodle.com> | 2016-12-21 13:39:03 +1100 |
---|---|---|
committer | Tony Breeds <tony@bakeyournoodle.com> | 2016-12-21 13:39:03 +1100 |
commit | 79f75a7f7001e2e0ed6228ed819a2476b97c7b13 (patch) | |
tree | 2b890d0da2dbd69be22ec1ecd797a601a06be35c /tox.ini | |
parent | 555bc479316abf8b9c5798b466f2d65deee34f50 (diff) | |
download | stevedore-79f75a7f7001e2e0ed6228ed819a2476b97c7b13.tar.gz |
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 stevedore.
Change-Id: I7a1285a2c3882b02987bfa95950689f5282aa407
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,7 +1,13 @@ [tox] +minversion = 2.0 envlist = py35,py34,py27,pep8,docs [testenv] +setenv = + VIRTUAL_ENV={envdir} + BRANCH_NAME=master + CLIENT_NAME=stevedore +install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} deps = -r{toxinidir}/test-requirements.txt distribute = False |