mirror of
https://github.com/ceph/ceph
synced 2025-02-20 09:27:35 +00:00
admin/doc-requirements: use funcparserlib from github
funcparserlib is pulled in as a dependency by blockdiag. the latest version of funcparserlib available on pypi is v0.3.6 which is not compatible with Python3.8. in this change, funcparserlib is installed from github instead to address the build failure like: File "/home/docs/checkouts/readthedocs.org/user_builds/ceph/envs/41855/lib/python3.8/site-packages/sphinxcontrib/seqdiag.py", line 26, in <module> import seqdiag.utils.rst.nodes File "/home/docs/checkouts/readthedocs.org/user_builds/ceph/envs/41855/lib/python3.8/site-packages/seqdiag/utils/rst/nodes.py", line 16, in <module> from blockdiag.utils.rst import nodes File "/home/docs/checkouts/readthedocs.org/user_builds/ceph/envs/41855/lib/python3.8/site-packages/blockdiag/utils/rst/nodes.py", line 21, in <module> import blockdiag.builder File "/home/docs/checkouts/readthedocs.org/user_builds/ceph/envs/41855/lib/python3.8/site-packages/blockdiag/builder.py", line 16, in <module> from blockdiag import parser File "/home/docs/checkouts/readthedocs.org/user_builds/ceph/envs/41855/lib/python3.8/site-packages/blockdiag/parser.py", line 43, in <module> from funcparserlib.parser import (a, finished, forward_decl, many, maybe, skip, File "/home/docs/checkouts/readthedocs.org/user_builds/ceph/envs/41855/lib/python3.8/site-packages/funcparserlib/parser.py", line 123 except NoParseError, e: ^ SyntaxError: invalid syntax once https://github.com/vlasovskikh/funcparserlib/issues/65 is addressed, we should drop this change. Signed-off-by: Kefu Chai <tchaikov@gmail.com>
This commit is contained in:
parent
2d6e192d1d
commit
dde92124b5
@ -1,5 +1,6 @@
|
||||
Sphinx == 3.5.4
|
||||
git+https://github.com/ceph/sphinx-ditaa.git@py3#egg=sphinx-ditaa
|
||||
git+https://github.com/vlasovskikh/funcparserlib.git
|
||||
breathe >= 4.20.0
|
||||
Jinja2
|
||||
pyyaml >= 5.1.2
|
||||
|
Loading…
Reference in New Issue
Block a user