Repository navigation
Drop support for numpy < 1.24 - #18160
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.
|
|
Turns out that in order to drop support for |
31d371d to
dc4dee3
Compare
|
Turns out that changing our oldest supported |
numpy < 1.25numpy < 1.24
mhvk
left a comment
There was a problem hiding this comment.
Thanks! I think doing just the removal of support for numpy 1.24 is good - it is a large PR as is, but now nice & reviewable.
Description
According to SPEC 0 we do not have to support
numpy1.23 or 1.24 anymore. Removing compatibility code for those versions simplifies our codebase.SPEC 0 also recommends dropping support for
numpy1.25 starting from June 2025. It's not June yet, butastropy7.2 will not be released in May, so we could drop support fornumpy1.25 onmainalready. I haven't done that here yet, but if reviewers would like that then it would be simple enough to add one more commit.EDIT: I ended up dropping support only for
numpy1.23 here.