summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwuchunyang <wuchunyang@yovole.com>2020-11-27 12:36:09 +0000
committerDouglas Mendizábal <dmendiza@redhat.com>2022-05-16 21:27:16 +0000
commit57b559b38bfe0b2a6a7e489ccb3b07e56008b63d (patch)
treed41fbe0047f89a81be40edafdca202d9adaa45ce
parent8e3a391fd63c0a319071fc55996faab3e6699a0f (diff)
downloadpython-barbicanclient-57b559b38bfe0b2a6a7e489ccb3b07e56008b63d.tar.gz
Replace deprecated UPPER_CONSTRAINTS_FILE variable
UPPER_CONSTRAINTS_FILE is old name and deprecated -https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file This allows to use lower-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. Change-Id: I54126f6aae313b28e54293d362b1cd81e19807b9
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index f5284de..9bc5d12 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,7 +12,7 @@ setenv =
PYTHON=coverage run --source barbicanclient --parallel-mode
VIRTUAL_ENV={envdir}
deps =
- -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
+ -c{env:TOX_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt