Docs build: Add requirements.txt to deps
Since we use usedevelop=True, as a result os-ken installation happens at 'develop-inst' phase and it installs requirements from requirements.txt without considering tox constraints. This can lead to issue where broken requirements are installed in docs job and as a result it will fail. In order to get constraints be considered for this case, add requirements.txt to deps for docs env. Change-Id: Id2975423df7d7c643f10f25e64d61d3680fcb38b
This commit is contained in:
parent
5f986ac16d
commit
6dfd5da306
1
tox.ini
1
tox.ini
@ -39,6 +39,7 @@ commands =
|
|||||||
deps =
|
deps =
|
||||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
|
-r{toxinidir}/requirements.txt
|
||||||
commands = sphinx-build -W -b html doc/source doc/build/html
|
commands = sphinx-build -W -b html doc/source doc/build/html
|
||||||
|
|
||||||
[testenv:pdf-docs]
|
[testenv:pdf-docs]
|
||||||
|
Loading…
Reference in New Issue
Block a user