]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
tests: pin sphinx version to 1.7.9
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 13 Sep 2018 10:48:25 +0000 (12:48 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 13 Sep 2018 11:25:54 +0000 (13:25 +0200)
commit6f87d1dc049c81912ea72f6fd3a668fdb6ea8960
treee718cd3b151d1d132c7a6832d1a992beebd0eb98
parent9a85280667eca11ae6b3b866a2fc14d9c44c14f3
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 <module>
      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 <gabrioux@redhat.com>
(cherry picked from commit 8f2c660d2566b9d8772c7dbee7cbcd005a61bfc2)
docs/tox.ini