-
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 fails with "ValueError: wrapper loop when unwrapping..." #7422
Comments
Same failure in the openstack/cinder repo: http://paste.openstack.org/show/791673/ |
Summary: Travis build is failing due to Sphinx failure. Similar issue filed on Sphinx suggests a bug, pinned to previous stable release: sphinx-doc/sphinx#7422 Reviewed By: stevemandala Differential Revision: D20870347 fbshipit-source-id: 211699f9d5a28fce2df32c939039414809d783f0
Summary: Travis build is failing due to Sphinx failure. Similar issue filed on Sphinx suggests a bug, pinned to previous stable release: sphinx-doc/sphinx#7422 Reviewed By: stevemandala Differential Revision: D20870347 fbshipit-source-id: 6576b8319a560d0f63dcf7f765561546e3082574
I think the problem is with mocked modules. At least in my case. When you mock some module and then use it like |
I too am experiencing this after rebuilding my virtualenv with sphinx 3.0, perhaps something helpful: If I add a submodule to the autodoc_mock_imports like this: |
Same error for me too (well, I compared 2.4.4 to 3.0.0). I also tried conf.py
example.py
|
Sphinx 3.0.0 has introduced failures in several repos [0]. Until we can identify the cause/fix for these failures, and given the point in the release cycle, it might be best to keep this limited until we have some more time to understand the issue. [0] sphinx-doc/sphinx#7422 Change-Id: I8cf2a0932701b7023eef22b5cb2b6d3088891389 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Update requirements from branch 'master' - Merge "Lower Sphinx constraint" - Lower Sphinx constraint Sphinx 3.0.0 has introduced failures in several repos [0]. Until we can identify the cause/fix for these failures, and given the point in the release cycle, it might be best to keep this limited until we have some more time to understand the issue. [0] sphinx-doc/sphinx#7422 Change-Id: I8cf2a0932701b7023eef22b5cb2b6d3088891389 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Sorry for the inconvenience. and thank you for the detailed report. I just post #7431 to fix this. Please try it if you have time. |
Two days ago, sphinx doc released a new version, 3.0.0. Unfortunately, there's an issue with it that causes building docs for garage to crash. Until [that issue](sphinx-doc/sphinx#7422) is closed, we need to avoid updating for the CI to work.
Two days ago, sphinx doc released a new version, 3.0.0. Unfortunately, there's an issue with it that causes building docs for garage to crash. Until [that issue](sphinx-doc/sphinx#7422) is closed, we need to avoid updating for the CI to work.
Two days ago, sphinx doc released a new version, 3.0.0. Unfortunately, there's an issue with it that causes building docs for garage to crash. Until [that issue](sphinx-doc/sphinx#7422) is closed, we need to avoid updating for the CI to work. (cherry picked from commit aabfe20)
Two days ago, sphinx doc released a new version, 3.0.0. Unfortunately, there's an issue with it that causes building docs for garage to crash. Until [that issue](sphinx-doc/sphinx#7422) is closed, we need to avoid updating for the CI to work. (cherry picked from commit aabfe20) Co-authored-by: K.R. Zentner <41180126+krzentner@users.noreply.github.com>
…s_ValueError Fix #7422: autodoc: fails with ValueError when using autodoc_mock_imports
Describe the bug
The documentation set for my project fails with error messages like
ValueError: wrapper loop when unwrapping ligo.skymap.io.events
. The build worked with Sphinx 3.0.0b1, but broke with Sphinx 3.0.0. Just a guess, but I think that #7222 broke it.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Successful build with no error messages.
Your project
https://git.ligo.org/emfollow/gwcelery
Screenshots
N/A
Environment info
docker run python
), but also fails on macOS and just about every platform that I have tried.The text was updated successfully, but these errors were encountered: