Use upper constraints in tox jobs
keeps safe from dependencies drift.
Original upstream repo has master branch only so it does not have this
problem, everything is fixed on the go and only in one place.
Related-Issue: PROD-30711
Change-Id: Icfb8e9023a81b9986421f71fe07a7ab343a45c9c
diff --git a/tox.ini b/tox.ini
index 07e3180..ebe1570 100644
--- a/tox.ini
+++ b/tox.ini
@@ -10,6 +10,7 @@
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
+ -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/xena}
commands = stestr run --slowest {posargs}
[testenv:pep8]