summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorlikui <likui@yovole.com>2020-11-01 16:28:26 +0800
committerlikui <likui@yovole.com>2020-11-01 16:28:26 +0800
commit61e930f5f8ada0978d883cb986c2d0893b5f2838 (patch)
treed5117e064e0f8ed6dedcd61ea29f071ad81f1573 /tox.ini
parent30e788c592067f8896e267399e734c3dd8851f52 (diff)
downloadoslo-policy-61e930f5f8ada0978d883cb986c2d0893b5f2838.tar.gz
Use TOX_CONSTRAINTS_FILE
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>. [1] https://review.opendev.org/#/c/722814/ Change-Id: I5d023d0c1e74b01bb3743c54f4a0536085b98e93
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 0d54506..98485b6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -6,7 +6,7 @@ ignore_basepython_conflict = true
[testenv]
basepython = python3
deps =
- -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
+ -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt