Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#3,833 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@T4rk1n đang làm issue này rồi.

Từ ngày 24/6/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug P3 size: 5

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'
Ngôn ngữ chính
Python
Star
24.4k
Fork
2.3k
Merge trung bình
1 ngày 19 giờ
Pull request đã merge (30 ngày)
19

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của plotly/dash

Tất cả issue của plotly/dash

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.