Skip to content

Commit

Permalink
admin/doc-requirements: pin sphinx-autodoc-typehints to 1.10.3
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tchaikov committed Jun 22, 2020
1 parent 89ad6c8 commit 83d0323
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions admin/doc-requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Jinja2

0 comments on commit 83d0323

Please sign in to comment.