]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
admin/doc-requirements: pin sphinx-autodoc-typehints to 1.10.3
authorKefu Chai <kchai@redhat.com>
Mon, 22 Jun 2020 00:28:37 +0000 (08:28 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 22 Jun 2020 02:37:57 +0000 (10:37 +0800)
to silence following error:

ERROR: sphinx-autodoc-typehints 1.11.0 has requirement Sphinx>=3.0, but you'll have sphinx 2.4.3 which is incompatible.

* update breathe to the latest release, 4.14.2, which supports sphinx <
  3.0
* pin sphinx to 2.4.4 the last sphinx before 3.0.0. as if sphinx >= 3.0
is used, we have errors like:

Invalid C declaration: Expected identifier in nested name, got keyword: int [error at 18]
  CEPH_RADOS_API int rados_aio_append (rados_ioctx_t io, const char *oid, rados_completion_t completion, const char *buf, size_t len)
  ------------------^

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

index 787817c7fbb1ad283f4a98db7d5ea93d56af9315..29db8cfe61b620c2e5518c06c2a4c1b75594431f 100644 (file)
@@ -1,11 +1,11 @@
-Sphinx == 2.4.3
+Sphinx == 2.4.4
 git+https://github.com/ceph/sphinx-ditaa.git@py3#egg=sphinx-ditaa
-breathe == 4.14.0
+breathe == 4.14.2
 pyyaml >= 5.1.2
 Cython
 prettytable
-sphinx-autodoc-typehints
+sphinx-autodoc-typehints == 1.10.3
 typed-ast
 pcpp
 -e../src/python-common
-Jinja2
\ No newline at end of file
+Jinja2