Bug#1127672: nanobind: multiple regressions with MPI

Timo Röhling roehling at debian.org
Sat Feb 14 22:00:12 GMT 2026


On Sat, 14 Feb 2026 12:26:13 +0100 Timo Röhling <roehling at debian.org> 
wrote:
> nanobind 2.11.0 introduced some internal changes which break MPI code.
> I am yet uncertain what the underlying cause is, but nanobind added 
> immutability to internal classes, which trigger certain fast paths in 
> CPython and might cause issues with MPI.

I have bisected the nanobind upstream repository and traced the i386 
unit test regression to 
https://github.com/wjakob/nanobind/commit/ac63d3a63dfec1be5c1129fa6be3ee35d5ac13ed
[Implicit nb::none() annotation for std::optional<T>-typed arguments]


-- 
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20260214/b031ada0/attachment.sig>


More information about the debian-science-maintainers mailing list