-
-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Description
This will no longer work for Sphinx 9.0.0
| from sphinx.ext.autodoc.mock import mock |
Test with Sphinx 9.0.0rc1 pre-release:
pip install --pre sphinx_autodoc_typehints
python -c "import sphinx_autodoc_typehints"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File ".../site-packages/sphinx_autodoc_typehints/__init__.py", line 17, in <module>
from sphinx.ext.autodoc.mock import mock
ModuleNotFoundError: No module named 'sphinx.ext.autodoc.mock'
See also https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst#incompatible-changes.
cpelley
Metadata
Metadata
Assignees
Labels
No labels