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
The reason here is that numpy now requires to specify dtype=object for this kind of array; see NEP 34. With
--- a/casa_formats_io/casa_low_level_io/data_managers/standard.py+++ b/casa_formats_io/casa_low_level_io/data_managers/standard.py@@ -205,7 +205,7 @@ class StandardStMan(BaseCasaObject):
subshape.append(read_int32(fi))
size = int(np.product(subshape))
values.append(read_as_numpy_array(fi, coldesc.value_type, size, shape=subshape[::-1]))
- data.append(np.array(values))+ data.append(np.array(values, dtype=object))
if data:
if data[0].ndim > 1:
return np.vstack(data)
it works for me. However, since I can't run the full test (casatools is not available in Debian), it may be that there are more of these; that's why I didn't just makr a PR.
This is a forward of Debian#1029244.
When building the Debian package, we now observe the following test failure:
This is probably caused by the update of numpy to 1.24.
The full build log is in the Debian bug.
The text was updated successfully, but these errors were encountered: