You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirmed: the failure is caused by pybind11 3.1’s change in PR #5879.
Reproduced: 1 failed, 58 passed, 1 xfailed.
test_getvalue_overloads fails because put_value("boolean", True) stores double 1.0, not boolean True.
Root cause: These bindings register the double overload before bool. Previously, pybind11 rejected booleans for double during its first, no-conversion overload pass.
Version 3.1 accepts Python integers in that pass—and Python booleans are integer subclasses. Consequently, the earlier double overload wins.
Recommended fix: Register bool first, with .noconvert() on its value argument, followed by double. This prioritizes actual booleans without allowing the boolean overload to
absorb other numeric inputs. Adding .noconvert() to double alone won’t help under the new semantics
There probably are other places (datalog?) that this may affect.
Working on this: register the bool overload before double (with .noconvert() on the bool value) for the NetworkTable / NetworkTableEntry put/set_default/set_value paths so Python True/False stop binding as double under pybind11 3.1.
Activity
Amidwestnoob commentedon Sep 12, 2026
Working on this: register the bool overload before double (with
.noconvert()on the bool value) for the NetworkTable / NetworkTableEntry put/set_default/set_value paths so PythonTrue/Falsestop binding as double under pybind11 3.1.