You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I’d like to work on this issue if it’s still available.
I will locate the incorrect indentation, fix it, and ensure
the documentation builds correctly. Please let me know if this
approach is fine. Thanks!
I investigated updating the sphinx pin from 8.2.3 to 9.1.0.
sphinx 9.1.0 has an upstream regression that breaks the NumPy docs build. It produces about 357 warnings like:
WARNING: error while formatting signature for numpy.add: list assignment index out of range [autodoc]
This affects all ufuncs (C extension types). The bug is in Sphinx 9's rewritten autodoc. It assumes the signatures list is non-empty, but for C extensions where numpydoc provides the signature via hook, the list starts empty.
Setting autodoc_use_legacy_class_based = True (the official workaround per sphinx-doc/sphinx#14089) only reduces warnings from 586 to 451. The remaining 224 come from autosummary, which bypasses the legacy flag.
I reported the specific bug to sphinx-doc/sphinx#14089. Seems like this issue has to be parked until then.
Activity
shiragemalashri-shri commentedon Feb 6, 2026
Hi, I’d like to work on this issue if it’s still available.
I will locate the incorrect indentation, fix it, and ensure
the documentation builds correctly. Please let me know if this
approach is fine. Thanks!
AbhiRKeesara commentedon Sep 25, 2026
Hi Team,
Seems
numpydocis updated to latest version1.11.0with this #32699 PR. I'll try to getSphinxto latest version9.1.0to close out this issue.Thanks!
AbhiRKeesara commentedon Sep 25, 2026
Hi Team,
I investigated updating the sphinx pin from 8.2.3 to 9.1.0.
sphinx 9.1.0 has an upstream regression that breaks the NumPy docs build. It produces about 357 warnings like:
This affects all ufuncs (C extension types). The bug is in Sphinx 9's rewritten autodoc. It assumes the signatures list is non-empty, but for C extensions where numpydoc provides the signature via hook, the list starts empty.
Setting
autodoc_use_legacy_class_based = True(the official workaround per sphinx-doc/sphinx#14089) only reduces warnings from 586 to 451. The remaining 224 come fromautosummary, which bypasses the legacy flag.I reported the specific bug to sphinx-doc/sphinx#14089. Seems like this issue has to be parked until then.
Thanks!