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 This ps to reuse upper-constraints.txt from docs deps Change-Id: I70d53f31dccca644bcea1abf0b1976bc7121ffe9
This commit is contained in:
parent
68dd879de7
commit
cdcaaa6e2f
2
tox.ini
2
tox.ini
@ -77,7 +77,7 @@ commands = oslo-config-generator --config-file=etc/oslo-config-generator/kuryr.c
|
||||
|
||||
[testenv:releasenotes]
|
||||
basepython = python3
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
deps = {[testenv:docs]deps}
|
||||
commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
[testenv:lower-constraints]
|
||||
|
Loading…
x
Reference in New Issue
Block a user