Skip to content

DOC: Fix build with pybind11 3#30289

Merged
story645 merged 1 commit intomatplotlib:mainfrom
QuLogic:fix-pybind-doc
Jul 11, 2025
Merged

DOC: Fix build with pybind11 3#30289
story645 merged 1 commit intomatplotlib:mainfrom
QuLogic:fix-pybind-doc

Conversation

@QuLogic
Copy link
Copy Markdown
Member

@QuLogic QuLogic commented Jul 11, 2025

PR summary

As of pybind/pybind11#5212, pybind11 now uses numpy.typing.NDArray instead of numpy.ndarray, and as of pybind/pybind11#5580, it changed the name of the internal wrapper that Sphinx sees.

Since we already ignore numpy.float64 missing references for the same method, add the new name and new class to ignores as well.

PR checklist

As of pybind/pybind11#5212, pybind11 now uses
`numpy.typing.NDArray` instead of `numpy.ndarray`, and as of
pybind/pybind11#5580, it changed the name of the
internal wrapper that Sphinx sees.

Since we already ignore `numpy.float64` missing references for the same
method, add the new name and new class to ignores as well.