The CMake integration of nanobind correctly adds a suitable library suffix (such as .cpython-313-darwin.so instead of just .so). It appears that nanobind_bazel doesn't do that. Apparently, the correct way to get that one is to query the EXT_SUFFIX variable from sysconfig, as evident from the Fedora packaging rules.
The CMake integration of nanobind correctly adds a suitable library suffix (such as
.cpython-313-darwin.soinstead of just.so). It appears that nanobind_bazel doesn't do that. Apparently, the correct way to get that one is to query the EXT_SUFFIX variable from sysconfig, as evident from the Fedora packaging rules.