You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: migrate Jupyter integration from deprecated ipykernel.comm to comm module
- Replace ipykernel.comm.Comm with comm.create_comm
- Refactor kernel access to use get_ipython().kernel directly instead of comm.kernel
- Resolves DeprecationWarning in Python 3.12+
- Maintains full backward compatibility and functionality
- Passes all linting checks (pylint 10/10, flake8 clean, black formatted)
The new comm module's DummyComm doesn't provide kernel access like the old
ipykernel.comm.Comm. This fix properly migrates to get kernel from IPython
directly, which is more robust and follows the intended usage pattern.
Fixes#3416
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
13
13
- [#3395](https://github.com/plotly/dash/pull/3395) Fix Components added through set_props() cannot trigger related callback functions. Fix [#3316](https://github.com/plotly/dash/issues/3316)
14
14
- [#3397](https://github.com/plotly/dash/pull/3397) Add optional callbacks, suppressing callback warning for missing component ids for a single callback.
15
15
- [#3415](https://github.com/plotly/dash/pull/3415) Fix the error triggered when only a single no_update is returned for client-side callback functions with multiple Outputs. Fix [#3366](https://github.com/plotly/dash/issues/3366)
16
+
- [#3416](https://github.com/plotly/dash/issues/3416) Fix DeprecationWarning in dash/_jupyter.py by migrating from deprecated ipykernel.comm.Comm to comm module
0 commit comments