-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autodoc does not recognize cython_function_or_method #8074
Comments
Sorry for inconvience. I confirmed the error with following Dockerfile:
It seems the bug was added by #7690 (cc: @keewis ). I'll try to fix it soon. |
Thank you for the prompt response and I'm sorry for not providing sufficient information (about the napoleon plugin used and that palace needs an audio backend to be imported by autodoc) so that you had to figured it out yourself. The PR you linked looks awesome and I can't wait to try it out once this issue is resolved! |
Fix #8074: napoleon: Crashes during processing C-ext module
I merged #8077 now. I'll wait for another critical bug report to 3.2.0 for a while and release this as 3.2.1 within a week. |
Thanks, I can confirm that it is working now! |
This version of Sphinx fails to build our docs with the following error: Handler <function _process_docstring at 0x7f156ef03598> for event 'autodoc-process-docstring' threw an exception (exception: module, class, method, function, traceback, frame, or code object was expected, got PathProtocol) This appears to be a bug in Sphinx which should be fixed in the next version. (See [here](sphinx-doc/sphinx#8074) for more details.) I've confirmed that the build works properly with Sphinx master.
Sphinx 3.2.0 (on rtd) has a problem with cpython extensions, disables that version when building the docs on rtd. References: * sphinx-doc/sphinx#8074 * sphinx-doc/sphinx#8077 [skip ci]
First of all, congratulations on the new release 3.2! I've been waiting for it for quite a while.
Describe the bug
When I try to build the HTML pages using
make html
, autodoc throw an exception about not expecting cython_function_or_method. On Sphinx 3.1.2 this doesn't happen.To Reproduce
Steps to reproduce the behavior:
Currently palace only have binary builds for Python 3.6+ on GNU/Linux (and for Python 3.6 on macOS, but I doubt if anyone is still using Python 3.6 anymore), so if you don't have GNU/Linux I'll work out a more minimal Cython module to facilitate the debugging progress.
Your project
For convenience purposes, I'm leaving a snapshot of our project gh-pages branch here as well: palace-gh-pages.zip
Environment info
The text was updated successfully, but these errors were encountered: