Skip to content

walk_dict_to_hdf5: Explicitly use np.int64 #71

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

Merged
merged 1 commit into from
May 14, 2025

Conversation

Image for: Conversation
Copy link
Contributor

dtype=float is equivalent to dtype=np.float64, but dtype=int is equivalent to dtype=np.int_, which is 32 bits wide on 32-bit systems and not necessarily wide enough for the data we're trying to convert. As shown (sort of) in https://bugs.debian.org/1103147, this caused test failures on 32-bit architectures.

`dtype=float` is equivalent to `dtype=np.float64`, but `dtype=int` is
equivalent to `dtype=np.int_`, which is 32 bits wide on 32-bit systems
and not necessarily wide enough for the data we're trying to convert.
As shown (sort of) in https://bugs.debian.org/1103147, this caused test
failures on 32-bit architectures.
Copy link
Member

Thanks, the fix makes sense to me. 👍

I'm surprised that a Debian package of karabo-bridge exists at all, though. This is an interface to European XFEL's Karabo control system, and EuXFEL's own clusters run Red Hat. There are some scenarios where it you could use karabo-bridge from another platform, but it's easy to install through pip, and many people will want it in a virtualenv or a conda environment anyway.

Can I gently request that you remove the package from Debian? Obviously if someone wants it there then they have every right to package it, but it seems like a waste of effort, and we'd rather users install it with pip and get the latest version. The fact that it's missing a version released 18 months ago suggests to me that it's not actively maintained.

Copy link
Contributor Author

I'll leave that sort of question to Roland, who originally packaged it - I think they usually have their reasons and I don't really want to butt in. I'm just doing various cleanups in passing!

Copy link
Member

Close/reopen to re-run tests

takluyver closed this May 14, 2025
takluyver reopened this May 14, 2025
takluyver merged commit d3b4b4c into European-XFEL:master May 14, 2025
4 of 8 checks passed
cjwatson deleted the glimpse-int64 branch June 7, 2025 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants