Skip to content

COMP: Sphinx dev failure due to automodsummary.get_documenter removal #219

@bsipocz

Description

@bsipocz

New compatibility issue with sphinx dev version, from upstream PR sphinx-doc/sphinx#13985:

https://github.com/astropy/sphinx-automodapi/actions/runs/18834054740/job/53730962052

Traceback
=========

      File "/home/runner/work/sphinx-automodapi/sphinx-automodapi/.tox/py313-test-sphinxdev/lib/python3.13/site-packages/sphinx/events.py", line 423, in emit
        raise ExtensionError(
        ...<4 lines>...
        ) from exc
    sphinx.errors.ExtensionError: Handler <function process_automodsumm_generation at 0x7f5956315b20> for event 'builder-inited' threw an exception (exception: cannot import name 'get_documenter' from 'sphinx.ext.autosummary' (/home/runner/work/sphinx-automodapi/sphinx-automodapi/.tox/py313-test-sphinxdev/lib/python3.13/site-packages/sphinx/ext/autosummary/__init__.py))


The full traceback has been saved in:
/tmp/sphinx-err-0i0uie02.log

To report this error to the developers, please open an issue at <[https://github.com/sphinx-doc/sphinx/issues/](https://github.com/sphinx-doc/sphinx/issues/?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen)>. Thanks!
Please also report this if it was a user error, so that a better error message can be provided next time.
=========================== short test summary info ============================

Downstream impact:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions