MNT: Numpy 2.1 compatibility for HDF5 table reader#16814
Conversation
|
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
|
👋 Thank you for your draft pull request! Do you know that you can use |
|
aarch64 is canceled (#16565) |
because its numpy 2.1 compatibility patch has not been released but numpy 2.1rc is out. Co-authored-by: Clément Robert <[email protected]>
mhvk
left a comment
There was a problem hiding this comment.
My tendency would be to add the Table(np.array(input, copy=True), copy=False), since we might as well ensure there are not two copies while we are at it -- unlikely we'll get back to this soon! But obviously also fine to just go with the fix...
from HDF5 data. Co-authored-by: Marten van Kerkwijk <[email protected]>
|
Re: #16814 (review) Sure, doesn't hurt. Added you as co-author as well. Thanks, @mhvk ! |
mhvk
left a comment
There was a problem hiding this comment.
Thanks, looks all good to me!
|
link check failure is related. Thanks for the reviews! |
Description
Numpy 2.1 compatibility for HDF5 table reader. This ignores the warning for now because h5py/h5py#2416 is not released yet but we are picking up numpy 2.1rc in the pre-deps job.
Noticed the failure in daily cron. Example log: https://github.com/astropy/astropy/actions/runs/10345199740/job/28631875521