From 1bb62d843f0d73091c58543224432e374d58d0c9 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 12 Dec 2016 12:57:08 -0800 Subject: [PATCH] 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 --- tox.ini | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 6d19ea9b9..1654c51d1 100644 --- a/tox.ini +++ b/tox.ini @@ -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 =