We saw a failure on numpy 2.0 due to an untested codepath in the case of nonscalar data placed directly in an Event document.
New unit test exercises the bug:
FAILED databroker/tests/test_broker.py::test_direct_img_read[mongo-tiled-False] - AttributeError: module 'numpy' has no attribute 'product'
FAILED databroker/tests/test_broker.py::test_direct_img_read[mongo-tiled-True] - AttributeError: module 'numpy' has no attribute
'product'
We saw a failure on numpy 2.0 due to an untested codepath in the case of nonscalar data placed directly in an Event document.
New unit test exercises the bug: