Skip to content

Commit

Permalink
doc/requirements.txt: pin docutils at 0.14
Browse files Browse the repository at this point in the history
docutils is a dependency for sphinx. The recently released 0.15 version
throws a syntax error like so:

+ cd doc
+ make html
sphinx-build -b html -d _build/doctrees   . _build/html
Traceback (most recent call last):
  File "/usr/bin/sphinx-build", line 6, in <module>
    from sphinx.cmd.build import main
  File "/usr/lib64/python2.7/site-packages/sphinx/cmd/build.py", line 20, in <module>
    from docutils.utils import SystemMessage
  File "/usr/lib/python2.7/site-packages/docutils/utils/__init__.py", line 21, in <module>
    import docutils.io
  File "/usr/lib/python2.7/site-packages/docutils/io.py", line 348
    (self.destination.mode, mode)), file=self._stderr)
                                        ^
SyntaxError: invalid syntax
make: *** [Makefile:53: html] Error 1

obviously, this isn't ideal - so let's pin our version to one that
actually works.

Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
  • Loading branch information
stewartsmith authored and oohal committed Aug 2, 2019
1 parent 1fa6e85 commit 8995ad6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/requirements.txt
@@ -1,2 +1,4 @@
sphinx
recommonmark
# docutils 0.15 has a syntax error. fun.
docutils == 0.14

0 comments on commit 8995ad6

Please sign in to comment.