tox docs: pin docutils-0.12

This avoids a bug in the recent docutils-0.13.1 which throws an exception
when encountering links to SVG images. ReadTheDocs currently does the same.
https://sourceforge.net/p/docutils/bugs/301/ is probably the upstream bug.

closes ticket:2847
This commit is contained in:
Brian Warner 2016-12-12 12:57:08 -08:00
parent 2e1a39e630
commit 1bb62d843f

View File

@ -93,7 +93,11 @@ commands =
# your web browser.
[testenv:docs]
deps = sphinx
# we pin docutils because of https://sourceforge.net/p/docutils/bugs/301/
# which asserts when it reads links to .svg files (e.g. about.rst)
deps =
sphinx
docutils==0.12
# normal install is not needed for docs, and slows things down
skip_install = True
commands =