Replace deprecated UPPER_CONSTRAINTS_FILE variable

Change-Id: Ia77ee72f8205b65714f14cf5e0408226a85cdd09
This commit is contained in:
zhoulinhui 2020-11-10 13:11:51 +08:00
parent b26acee034
commit 8fc16df8c0

View File

@ -8,7 +8,7 @@ ignore_basepython_conflict = True
basepython = python3 basepython = python3
usedevelop = True usedevelop = True
install_command = install_command =
pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages} pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
commands = commands =
/usr/bin/find . -type f -name "*.pyc" -delete /usr/bin/find . -type f -name "*.pyc" -delete
passenv = passenv =
@ -117,7 +117,7 @@ commands =
[testenv:molecule] [testenv:molecule]
setenv = setenv =
UPPER_CONSTRAINTS_FILE=/dev/null TOX_CONSTRAINTS_FILE=/dev/null
deps = deps =
ansi2html # GPL (soft-dependency of pytest-html) ansi2html # GPL (soft-dependency of pytest-html)
docker>=3.7 # Apache docker>=3.7 # Apache