If DOLFINx and Basix use different versions of nanobind, crashes can follow. E.g, https://github.com/FEniCS/dolfinx/actions/runs/8029599618. See https://nanobind.readthedocs.io/en/latest/faq.html#how-can-i-avoid-conflicts-with-other-projects-using-nanobind for some possible work-arounds.