diff options
author | wuchunyang <wuchunyang@yovole.com> | 2020-11-27 12:36:09 +0000 |
---|---|---|
committer | Douglas Mendizábal <dmendiza@redhat.com> | 2022-05-16 21:27:16 +0000 |
commit | 57b559b38bfe0b2a6a7e489ccb3b07e56008b63d (patch) | |
tree | d41fbe0047f89a81be40edafdca202d9adaa45ce | |
parent | 8e3a391fd63c0a319071fc55996faab3e6699a0f (diff) | |
download | python-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.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |