Reuse the docs deps to benefit from constraints
Tox trying to install latest versions for building releasenotes, which may not be supported by stable and lower branches, so should be restricted by respective version's upper-constraints.txt Change-Id: If0b3ecffaccff9512ec43b853a8a6eaa8088251e
This commit is contained in:
parent
4c7e759f24
commit
3cb72163aa
4
tox.ini
4
tox.ini
|
@ -36,7 +36,9 @@ commands =
|
|||
bash -c "find ceilometer -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
|
||||
|
||||
[testenv:releasenotes]
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
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 -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
[testenv:genconfig]
|
||||
|
|
Loading…
Reference in New Issue