Use upper constraints in tox installs
Openstack infra now supports upper constraints for all jobs. This patch adds upper constaints for test environment setup. Change-Id: I86312653e2b044e7180a9201addd48b29aa61bba Closes-Bug: #1596246
This commit is contained in:
2
tox.ini
2
tox.ini
@@ -5,7 +5,7 @@ skipsdist = True
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
install_command = pip install -U {opts} {packages}
|
||||
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
|
Reference in New Issue
Block a user