commit 184dbcc4a3d99895dd5c6cb4429c45d6a52c5105 Author: wu.shiming Date: Mon Oct 12 15:42:21 2020 +0800 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: I7c7c2bd998d1a457ae1d19f42993e05370aa4e78 diff --git a/tox.ini b/tox.ini index 0f31766..22e54ef 100644 --- a/tox.ini +++ b/tox.ini @@ -85,6 +85,7 @@ deps = -r{toxinidir}/requirements.txt commands = pylint blazar [testenv:releasenotes] +deps = {[testenv:docs]deps} commands = sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html [testenv:api-ref]