Use upper constraints in doc build

... to use the capped version especially in stable branches.

Change-Id: Ifeaca01da62e9acf4f4193c2905418b9c9a16445
This commit is contained in:
Takashi Kajinami 2024-04-01 14:49:33 +09:00
parent d13ff9ac8b
commit 99b8e42373
1 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,8 @@ commands =
coverage xml -o cover/coverage.xml
[testenv:docs]
deps = -r{toxinidir}/doc/requirements.txt
deps = -c{env:UPPER_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
[testenv:releasenotes]