]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
admin/doc-requirements.txt: pin Sphinx at 3.5.4 43748/head
authorKefu Chai <tchaikov@gmail.com>
Sat, 30 Oct 2021 03:18:17 +0000 (11:18 +0800)
committerKefu Chai <tchaikov@gmail.com>
Sat, 30 Oct 2021 03:24:51 +0000 (11:24 +0800)
* pin Sphinx at 3.5.4
* pin docutils at 0.18

at least the combination of these two versions
is known to compile.

to address the bug reported at
https://sourceforge.net/p/docutils/bugs/431/

the backtrace looks like:

/home/jenkins-build/build/workspace/ceph-pr-docs/build-doc/virtualenv/lib/python3.8/site-packages/sphinx/util/docutils.py:285:
RemovedInSphinx30Warning: function based directive support is now
deprecated. Use class based directive instead.
  warnings.warn('function based directive support is now deprecated. '

Exception occurred:
  File
"/home/jenkins-build/build/workspace/ceph-pr-docs/build-doc/virtualenv/lib/python3.8/site-packages/docutils/writers/html5_polyglot/__init__.py",
line 445, in section_title_tags
    if (ids and self.settings.section_self_link
AttributeError: 'Values' object has no attribute 'section_self_link'

please note this change is not cherry-picked from
master, because master already bumped Sphinx to 3.5.4
in 4968baa2523bd2a5ca6be147b26bc28906a864c9.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
admin/doc-requirements.txt

index 3ad2f6edbfcce7a2d54b2edeb81b8a27b2e07ddc..4a9090436e4df46215e2701d5f7f3b8b7786d21a 100644 (file)
@@ -1,4 +1,4 @@
-Sphinx == 3.2.1
+Sphinx == 3.5.4
 git+https://github.com/ceph/sphinx-ditaa.git@py3#egg=sphinx-ditaa
 breathe >= 4.20.0
 Jinja2