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 5aa6b38..ce9c4fb 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/victoria}
commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
testr run {posargs}