-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
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
COMPAT: ensure no warnings on tab completion with Jedi 0.15 #28524
COMPAT: ensure no warnings on tab completion with Jedi 0.15 #28524
Conversation
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.
Tested it out locally. Still a bit slow the first time, but no warnings.
Agreed with backporting.
What do we need to back port this for? Thought we were only back porting |
#27900 is a new issue (due to a recent release of Jedi). The issue that I reference there is several releases old, but that was actually also fixed back then. |
Yea I guess I just fail to see the point of back porting. I thought we wanted to be conservative and only do regressions. Is it just a warning or is it actually going to break soon, hence the request for back port? |
I don't know if you are using tab completion in an ipython console with latest versions of IPython and Jedi, but IMO this is usability regression. Getting a flood of warnings each time you press TAB is quite annoying. |
To be clear, you are certainly right that this is not a regression in the sense that something actually broke. And it depends a bit on your habits if you do tab completion without already starting to type (it only happens if you do |
Hmm also no issue doing |
Nevermind looks like I can reproduce with the code you have in #1383 In any case I'd still rather not back port as I don't think it's that critical but will leave to majority |
I think this is important enough to backport. |
thanks @jorisvandenbossche I suppose we should have a test that we don't show any Deprecationwarnings (on tests) though thought we did |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulation you did some good work ! Hopefully your backport PR will be tested by the continuous integration and merged soon! If these instruction are inaccurate, feel free to suggest an improvement. |
@jorisvandenbossche can you do the manual backport? |
Yep will do
Yes, we do have a test for that using IPython. But the programmatic way to do that does not match exactly the interactive console behaviour (it does not use Jedi), so we would need to write a specific test using Jedi. |
…etion with Jedi 0.15 (pandas-dev#28524)
Closes #27900
I didn't yet add any tests, because I am not fully sure how to write them (the IPython tests we already have clearly don't work, I suppose the programmatic
ip.Completer.completions(..)
doesn't go through jedi)