Reuse the docs deps to benefit from constraints
Tox trying to install latest versions for building docs, which may not be supported by stable and lower branches, so should be restricted by respective version's upper-constraints.txt Change-Id: I1e134bb72b6fef3fba8f20d3b3d65520c66bbbf1
This commit is contained in:
parent
37dc11fcc1
commit
60900d4f22
2
tox.ini
2
tox.ini
@ -63,6 +63,7 @@ commands = oslo_debug_helper -t ironic_python_agent/tests/unit {posargs}
|
||||
setenv = PYTHONHASHSEED=0
|
||||
sitepackages = False
|
||||
deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
sphinx-build -b html doc/source doc/build/html
|
||||
@ -72,6 +73,7 @@ whitelist_externals = make
|
||||
setenv = PYTHONHASHSEED=0
|
||||
sitepackages = False
|
||||
deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
sphinx-build -b latex doc/source doc/build/pdf
|
||||
|
Loading…
Reference in New Issue
Block a user