Skip to content
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

IPython 8 autocomplete not working for nested lookup #14457

Closed
hoxbro opened this issue Apr 28, 2023 · 3 comments
Closed

IPython 8 autocomplete not working for nested lookup #14457

hoxbro opened this issue Apr 28, 2023 · 3 comments
Labels
bug status:Invalid status:Needs Triage Applied to new issues that need triage

Comments

@hoxbro
Copy link

hoxbro commented Apr 28, 2023

Description

Auto-compete without Jedi seems to be broken with IPython >=8 for nested lookup.

Reproduce

If I run this code:

import numpy as np
import IPython
%config IPCompleter.use_jedi = False

IPython.__version__

And then create a new cell and type np. it will give a autocomplete. But if I try to autocomplete again, it does not give me anything. This seems to be happen for IPython >= 8

image

For IPython < 8 the nested autocomplete is working:

image

Expected behavior

I would expect autocomplete to work also for nested lookups.

Context

  • Operating System and version:
  • Browser and version:
  • JupyterLab version: 3.6.3
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here, if applicable.
@hoxbro hoxbro added the bug label Apr 28, 2023
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Apr 28, 2023
@welcome
Copy link

welcome bot commented Apr 28, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@krassowski
Copy link
Member

@hoxbro since this is an IPytohn-specific issue, it would have been better reported in IPython repository where you could find ipython/ipython#14028 which was already fixed by ipython/ipython#14029. Please upgrade IPython :)

@hoxbro
Copy link
Author

hoxbro commented Apr 28, 2023

I tried running it in IPython but did not know that it also used Jedi. So assumed it was a Jupyterlab issue. Sorry about the noise.

I will upgrade my IPython when it is live on conda-forge. Thank you for the great project!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug status:Invalid status:Needs Triage Applied to new issues that need triage
Projects
None yet
Development

No branches or pull requests

2 participants