plotly / plotly/dash

[BUG] Jupyter jupyter_dash.infer_jupyter_proxy_config() doesn't work with ipykernel>=7

Open
#3,833 1 comment 0 reactions 1 assignee View on GitHub

@T4rk1n is already working on this.

Since Jun 24, 2026.

bug P3 size: 5
Dominant language
Python
Stars
24.4k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
13

Description

Describe your context

dash                      4.2.0
ipykernel               7.3.0

Describe the bug

Docs say to use:

from dash import jupyter_dash

jupyter_dash.infer_jupyter_proxy_config()

to determine proxy configuration.

But this method no longer seems to exist in ipykernel:

AttributeError                            Traceback (most recent call last)
Cell In[1], line 3
      1 from dash import jupyter_dash
      2 
----> 3 jupyter_dash.infer_jupyter_proxy_config()

File /opt/conda/lib/python3.13/site-packages/dash/_jupyter.py:266, in JupyterDash.infer_jupyter_proxy_config(self)
    264     return
    265 # Assume classic notebook or JupyterLab
--> 266 _request_jupyter_config()

File /opt/conda/lib/python3.13/site-packages/dash/_jupyter.py:205, in _request_jupyter_config(timeout)
    202 if _jupyter_comm_response_received():
    203     break
--> 205 if inspect.iscoroutinefunction(kernel.do_one_iteration):
    206     loop = asyncio.get_event_loop()
    207     nest_asyncio.apply(loop)

AttributeError: 'IPythonKernel' object has no attribute 'do_one_iteration'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.