-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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
REF/DEPR: Deprecate AbstractMethodError #48913
Conversation
Just a reminder to please run the ASVs just to ensure there is no perf hit as mentioned in the original issue |
I was able to avoid ASV until now :) Can I compare two ASV runs on python 3.10 (that's the only one I have installed):
|
This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this. |
Still interested in this @twoertwein? |
Ready for review now :) |
I finally setup python 3.8 and ran |
Happy to rebase occasionally - let me know if there is something else needed for this PR. |
Would be great to get this deprecation in for 2.0 @mroeschke |
It looks fairly good. Just noting that ideally we want to remove all the old 1.x deprecations before introducing new ones |
Are now all the 1.x deprecations removed? Rebased it earlier today. |
now that the rc is cut, aiming for 2.1? |
Yeah 2.1 would be good. Sorry @twoertwein for not getting back to this for a bit. |
After rebasing mypy reported new errors:
So I remove |
_indexed_output_to_ndframe is no longer needed for SGB, can be removed and only exist on DFGB |
The ASV Benchmark test seems to have failed - is there a summary of the 11k-line output? |
Thinking aloud, it might be best to do this apart of 3.0 as a "breaking change without deprecation |
I opened a new pull request #54408 to keep the commit history in this PR intact (rebasing a squashed PR is easier) |
closes #48909
Probably would need a whatsnew entry, for people inheriting from those now abstract classes. I'll keep this PR as a draft until I replaced all cases of
AbstractMethodError
(that are actually implemented).