From: Guillaume Abrioux Date: Thu, 13 Sep 2018 10:48:25 +0000 (+0200) Subject: tests: pin sphinx version to 1.7.9 X-Git-Tag: v3.0.46~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6f87d1dc049c81912ea72f6fd3a668fdb6ea8960;p=ceph-ansible.git tests: pin sphinx version to 1.7.9 using sphinx 1.8.0 breaks our doc test CI job. Typical error: ``` Exception occurred: File "/home/jenkins-build/build/workspace/ceph-ansible-docs-pull-requests/docs/.tox/docs/lib/python2.7/site-packages/sphinx/highlighting.py", line 26, in from sphinx.ext import doctest SyntaxError: unqualified exec is not allowed in function 'run' it contains a nested function with free variables (doctest.py, line 97) ``` See: https://github.com/sphinx-doc/sphinx/issues/5417 Pinning to 1.7.9 to fix our CI. Signed-off-by: Guillaume Abrioux (cherry picked from commit 8f2c660d2566b9d8772c7dbee7cbcd005a61bfc2) --- diff --git a/docs/tox.ini b/docs/tox.ini index 028c343f6..d4a4c9c02 100644 --- a/docs/tox.ini +++ b/docs/tox.ini @@ -5,6 +5,6 @@ skipsdist = True [testenv:docs] basepython=python changedir=source -deps=sphinx +deps=sphinx==1.7.9 commands= sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html