Merge "Use upper-constraints in docs job"

This commit is contained in:
Zuul 2023-02-28 00:25:47 +00:00 committed by Gerrit Code Review
commit 230e9bf38c
1 changed files with 7 additions and 1 deletions

View File

@ -122,7 +122,13 @@ commands = {posargs}
deps = -r{toxinidir}/doc/requirements.txt
[testenv:docs]
deps = -r{toxinidir}/doc/requirements.txt
# Do not remove requirements.txt from deps list as without it
# upper constraints will not be used for deps listed in requirements.txt
# and may cause issues
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
-r{toxinidir}/requirements.txt
allowlist_externals =
rm
commands =