From @ralfgommers on the #NumPy issue tracker regarding #NumPy2:
Public service announcement: if your package uses pybind11 to interact with NumPy, you have to upgrade to the just-released pybind11 2.12.0: https://pypi.org/project/pybind11/2.12.0/.
The numpy 2.0.0rc1 is imminent, and it will not work with older pybind11 versions.
https://github.com/numpy/numpy/issues/24300#issuecomment-2027392563
