-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[0.2.1] test error during build on Debian #55
Comments
The reason here is that numpy now requires to specify --- 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. |
I'll try and look into this shortly |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: