Use upper-constraints for all tox environments

Change-Id: I3d24f37ae45a00361665ecd8326ce1b242411704
This commit is contained in:
Jonathan Rosser 2020-12-07 16:53:25 +00:00
parent 11af14d126
commit 2abd4c9be8
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,8 @@ ignore_basepython_conflict = True
[testenv]
basepython = python3
usedevelop = True
install_command =
pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
commands =
/usr/bin/find . -type f -name "*.pyc" -delete
passenv =
@ -34,7 +36,6 @@ setenv =
[testenv:docs]
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands =
bash -c "rm -rf doc/build"