Nanobind related issues in my local dolfinx build

Hi,

I am building dolfinx from source for creating my own docker image. On my laptop, dolfinx and nanobind work just fine. But in docker (where I have followed the same sequence), there seems to be an error. e,g,

import dolfinx
from mpi4py import MPI
mesh = dolfinx.mesh.create_unit_cube(MPI.COMM_WORLD, 10, 10, 10)
Vv = dolfinx.fem.functionspace(mesh, ("CG", 1))
print(f"Type: {type(Vv.element.interpolation_points)}")

I get

Type: <class 'numpy.ndarray'>

instead of

Type: <class 'nanobind.nb_bound_method'>

I have installed nanobind before compiling FEniCSx and also building locally HDF5 and ADIOS2 (with MPI support) correctly.

Thanks in advance,
~anoop

This is an API update on the main branch. interpolation_points is now a property of the element, not a call to the underlying C++ function for generating them.

Oh okay. Thank you. I will revert to older version of dolfinx then (as it depends on another open source package which I am using).

Thanks again
~anoop