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: Ic2a8a264e95ecd70902329fc5de3839625845129
This commit is contained in:
parent
6728160ae2
commit
4ce61af741
4
tox.ini
4
tox.ini
|
@ -81,7 +81,9 @@ import_exceptions = ironic_inspector.common.i18n
|
|||
[testenv:docs]
|
||||
setenv = PYTHONHASHSEED=0
|
||||
sitepackages = False
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands =
|
||||
sphinx-build -W -b html doc/source doc/build/html
|
||||
|
||||
|
|
Loading…
Reference in New Issue