Reuse the docs deps to benefit from constraints
Tox trying to install latest versions for building releasenotes, api-ref which may not be supported by stable and lower branches, so should be restricted by respective version's upper-constraints.txt Depends-On: Ia2fe3cab71b2efb89d6a4370109ec1abf2d1086f Change-Id: I13baec09f477fafaabc06f9459549ddb03e2657d
This commit is contained in:
parent
0a38b12573
commit
1a898f891b
4
tox.ini
4
tox.ini
|
@ -128,7 +128,7 @@ commands =
|
|||
|
||||
[testenv:releasenotes]
|
||||
basepython = python3
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
deps = {[testenv:docs]deps}
|
||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
[testenv:genconfig]
|
||||
|
@ -144,7 +144,7 @@ commands =
|
|||
|
||||
[testenv:api-ref]
|
||||
basepython = python3
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
deps = {[testenv:docs]deps}
|
||||
commands =
|
||||
rm -rf api-ref/build
|
||||
sphinx-build -W --keep-going -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
||||
|
|
Loading…
Reference in New Issue