Use constraints for docs tox target

In Stein the docs target started to fail when new release of
neutron-lib appeared. This is because tox installs neutron and its
requirements without any constraints. To fix this both the upper
constraints and neutron requirements needs to be added to dependencies
of docs target.

Closes-Bug: #1856156
Change-Id: Iea61238f37fdf24c0264f96d104ee0b3b6aec8e2
Elod Illes 2019-12-12 11:14:10 +01:00
parent 4051e0b19d
commit 07be793435
1 changed files with 4 additions and 1 deletions

View File

@ -123,7 +123,10 @@ commands = {posargs}
envdir = {toxworkdir}/docs
deps = -r{toxinidir}/doc/requirements.txt
deps =
commands = sphinx-build -W -b html doc/source doc/build/html