On 2024-11-19 15:19, Timo Röhling wrote:
* Drew Parsons <dpars...@emerall.com> [2024-11-19 15:06]:
Nice. I see you've done the same with numpy. Does that mean dh_numpy3
is now deprecated?
The numpy documentation (or dh_numpy3 man page) doesn't indicate it's
deprecated.
dh_numpy3 is is still needed, because it makes a difference whether
NumPy is called from Python code only or from a binary extension. Only
the latter case needs to be tied to the ABI version. dh_numpy3 checks
if the package is Arch: all to distinguish the two cases; AFAIK this
cannot be achieved with static .pydist files.
nanobind is different because its very purpose is building binary
extensions.
That makes sense. Thanks for explaining.
Drew