Add mitogen to the docs requirements

Mitogen is dependency of the pyroute2 and was added link to it
the docs in pyroute2 0.6.1. Due to the missing mitogen in our
docs venv, docs job was failing.
So let's install mitogen as docs env requirement, at least for now
to unblock our gate.
Later we can think about better solution as e.g. adding it properly to
the requirements or report and fix the issue in the pyroute2.

Change-Id: Iba37581916842bb5fc9f42f7f483d3431747bf8d
Closes-Bug: #1928913
This commit is contained in:
Slawek Kaplonski 2021-05-19 09:25:15 +02:00 committed by Flavio Fernandes
parent 5307cd8abe
commit a75fc891bc
1 changed files with 3 additions and 0 deletions

View File

@ -141,6 +141,9 @@ envdir = {toxworkdir}/docs
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
# NOTE(slaweq): mitogen is optional dependency of the pyroute2 and without it
# our docs job is failing
mitogen>=0.2.9
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:pdf-docs]