diff options
author | niuke <niuke19970315@163.com> | 2022-07-26 16:53:00 +0800 |
---|---|---|
committer | niuke <niuke19970315@163.com> | 2022-07-26 16:53:31 +0800 |
commit | 2221fdcee103195e39339f76d62e9275e52ffdf3 (patch) | |
tree | 22f2e91dbd4ded29e5e603a88fe2340399aba3d8 | |
parent | 0d0d339cc6050122babb82d402c4d045d49c6629 (diff) | |
download | python-designateclient-2221fdcee103195e39339f76d62e9275e52ffdf3.tar.gz |
Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
Change-Id: I946dca0e06f4bd96fb154cde1cc3bb5ee362a8fd
-rw-r--r-- | tox.ini | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -16,7 +16,7 @@ setenv = VIRTUAL_ENV={envdir} LANGUAGE=en_US:en LC_ALL=C 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}/requirements.txt -r{toxinidir}/test-requirements.txt @@ -31,7 +31,7 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [testenv:docs] 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}/doc/requirements.txt commands = sphinx-build -W -b html doc/source doc/build/html @@ -80,7 +80,7 @@ setenv = [testenv:releasenotes] 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}/doc/requirements.txt commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html |