summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorKefu Chai <tchaikov@gmail.com>2021-09-06 16:30:02 +0200
committerKefu Chai <tchaikov@gmail.com>2021-09-06 16:30:03 +0200
commitdde92124b572f78b457905e677f829698493a2a2 (patch)
tree4dcf8aeca49bfd5538435ffaed09735cdc830549 /admin
parentMerge pull request #43034 from rubenk/fix-unmapped-bytes-help-text (diff)
downloadceph-dde92124b572f78b457905e677f829698493a2a2.tar.xz
ceph-dde92124b572f78b457905e677f829698493a2a2.zip
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>
Diffstat (limited to 'admin')
-rw-r--r--admin/doc-requirements.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/doc-requirements.txt b/admin/doc-requirements.txt
index fef7b6590c9..1570b52438c 100644
--- a/admin/doc-requirements.txt
+++ b/admin/doc-requirements.txt
@@ -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