Docs build: Add NOTE to not remove requirements.txt

To avoid unintentionally remove requirements.txt
from deps list from docs env, add a NOTE.

Change-Id: I6ec150a8f31bf841f1c8829719a0f08df531e53a
This commit is contained in:
yatinkarel 2022-04-29 12:15:07 +05:30
parent f15baf16dd
commit 2a8187124b
1 changed files with 3 additions and 0 deletions

View File

@ -139,6 +139,9 @@ commands = {posargs}
[testenv:docs]
envdir = {toxworkdir}/docs
# 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