Skip to content
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

[docs] sphinx_autodoc_typehints fails on RTD #161

Closed
amotl opened this issue Sep 15, 2020 · 1 comment
Closed

[docs] sphinx_autodoc_typehints fails on RTD #161

amotl opened this issue Sep 15, 2020 · 1 comment
Labels
bug Something isn't working infrastructure Project tooling and other non-functional things

Comments

@amotl
Copy link
Member

amotl commented Sep 15, 2020

Hi there,

apparently the sphinx_autodoc_typehints extension fails on RTD, see also https://readthedocs.org/projects/wetterdienst/builds/11889523/:

Running Sphinx v1.8.5
loading translations [en]... done

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/wetterdienst/envs/latest/lib/python3.7/site-packages/sphinx/registry.py", line 472, in load_extension
    mod = __import__(extname, None, None, ['setup'])
  File "/home/docs/checkouts/readthedocs.org/user_builds/wetterdienst/envs/latest/lib/python3.7/site-packages/sphinx_autodoc_typehints.py", line 8, in <module>
    from sphinx.util.inspect import signature as Signature
ImportError: cannot import name 'signature' from 'sphinx.util.inspect' (/home/docs/checkouts/readthedocs.org/user_builds/wetterdienst/envs/latest/lib/python3.7/site-packages/sphinx/util/inspect.py)

It might require a more recent installation of Sphinx?

With kind regards,
Andreas.

@amotl amotl added bug Something isn't working infrastructure Project tooling and other non-functional things labels Sep 15, 2020
@amotl
Copy link
Member Author

amotl commented Sep 15, 2020

Same here: readthedocs/readthedocs.org#3734. Upgrading to Sphinx 3.2.1 fixed it, see 191f55a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working infrastructure Project tooling and other non-functional things
Projects
None yet
Development

No branches or pull requests

1 participant