Reuse the docs deps to benefit from constraints
Tox trying to install latest versions for building releasenotes, doc which may not be supported by stable and lower branches, so should be restricted by respective version's upper-constraints.txt Change-Id: Ib430947bb840d403f1a492bd9c49a89ccdd8d4f4
This commit is contained in:
parent
ebed4a6027
commit
728fdfcd06
2
tox.ini
2
tox.ini
|
@ -61,6 +61,7 @@ commands =
|
|||
[testenv:releasenotes]
|
||||
basepython = python3
|
||||
deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r {toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html
|
||||
|
@ -68,6 +69,7 @@ commands =
|
|||
[testenv:docs]
|
||||
basepython = python3
|
||||
deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r {toxinidir}/doc/requirements.txt
|
||||
commands=
|
||||
# NOTE(cloudnull): This will ensure we always have the latest version of
|
||||
|
|
Loading…
Reference in New Issue