Finding V-M12 in DEEP_ANALYSIS.md (parent #261).
descriptor_array.py:66,77 uses the free function np.astype(value, 'float'), which exists only in NumPy >= 2.1. pyproject.toml leaves numpy unpinned, and older NumPy is common with pinned scipp stacks — there, constructing any DescriptorArray raises AttributeError: module 'numpy' has no attribute 'astype'.
Fix: use value.astype('float') (already the spelling elsewhere in the same file, e.g. line 215), and/or add a minimal numpy version floor in pyproject.toml.
Finding V-M12 in DEEP_ANALYSIS.md (parent #261).
descriptor_array.py:66,77uses the free functionnp.astype(value, 'float'), which exists only in NumPy >= 2.1.pyproject.tomlleavesnumpyunpinned, and older NumPy is common with pinned scipp stacks — there, constructing anyDescriptorArrayraisesAttributeError: module 'numpy' has no attribute 'astype'.Fix: use
value.astype('float')(already the spelling elsewhere in the same file, e.g. line 215), and/or add a minimal numpy version floor inpyproject.toml.