Page MenuHomePhabricator

Autocomplete is very slow (unusable) in Newpyter
Closed, ResolvedPublic

Description

The autocomplete function (TAB) on Newpyter is working very slowly for me, making it practicable unusable.

I found that is a known issue with a package named Jedi.

You can solve this problem by adding the following magic line in your notebook:

%config Completer.use_jedi = False

Or solve it permanently by creating a ipython profile following these instructions.

I don't what we lose disabling Jedi, but I found autocomplete so important, that it might be good to disable it by default.

Event Timeline

EChetty lowered the priority of this task from Medium to Low.Apr 12 2022, 3:59 PM
EChetty subscribed.

Marking as Low for now since the work around seems to be working and will fix itself when we get through: https://phabricator.wikimedia.org/T302819

@diego - Would it be possible for you to test this again in the newer version of our JupyterHub environment please?
I'm keen to see whether we could simply mark the ticket as resolved due to recent upgrades, or whether it still requires our time to work on upgrading the defaults for new users.
Thanks very much.

@BTullis , yes, this has been solved in the current environment, thanks!