-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
DEP: Remove deprecated numpy.who #24321
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
Conversation
The failing test can be ignored. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for helping with this effort @eendebakpt!
This LGTM. I checked back, and who
was proposed for removal several times, in NEP 52, in the linked tracking issue, and the older gh-12385. I also checked that it's not used at all in SciPy, scikit-learn, Pandas, or any other projects I have a clone of locally. So this should be good to go. I'll leave it open for a bit though, best to give these deprecation/removal PRs at least a couple of days to give folks a chance to comment.
I guess we might have a stray release note mentioning deprecation rather than removal that might be nice to edit. I don't think this can break production code at worst course instructions might use it. The one thing we could note is that e.g. Spyder has a variable explorer and I think there are extensions for IPython to get it too (i.e. there are nicer replacements available these days if you use rich IDEs). |
The only mentioning of deprecation of |
Took the liberty to remove the "deprecated" part, it never was, it's an either or. I guess the deprecation was missing a release note fragment though, thanks for checking and updating. |
This PR picked up stray changes to two git submodules, can you revert that @eendebakpt? Also there's a merge conflict now. Other than that, this looks good to merge. |
CI is failing with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and all CI is happy now - in it goes. Thanks again @eendebakpt!
Remove deprecated
numpy.who
.Note: the removal is faster than the usual deprecation policy. See #23999 on the numpy 2.0 release.