Skip to content

Fix: there can be only one comm_manager#1049

Merged
blink1073 merged 7 commits intoipython:mainfrom
maartenbreddels:fix_comm_manager_singleton
Dec 7, 2022
Merged

Fix: there can be only one comm_manager#1049
blink1073 merged 7 commits intoipython:mainfrom
maartenbreddels:fix_comm_manager_singleton

Conversation

@maartenbreddels
Copy link
Copy Markdown
Contributor

Fixes #1043

I've tested this branch with our largest ipywidgets based application (yes it was broken before, I confirmed that, a previous test I did was obviously using the wrong environment).
And now it's working well.
@blink1073 shall I put the test of #1048 on top of this?
cc @martinRenou

@maartenbreddels maartenbreddels force-pushed the fix_comm_manager_singleton branch from d8fdc4b to 5f42999 Compare December 7, 2022 19:48
@maartenbreddels
Copy link
Copy Markdown
Contributor Author

FYI, the problem was there every call to comm.get_comm_manager() gave a new CommManager, so each widget lived in it's own bubble.

@blink1073 blink1073 changed the title fix: there can be only one comm_manager Fix: there can be only one comm_manager Dec 7, 2022
@blink1073
Copy link
Copy Markdown
Contributor

Thanks @maartenbreddels! Let's try another release...

@blink1073 blink1073 enabled auto-merge (squash) December 7, 2022 21:12
@maartenbreddels
Copy link
Copy Markdown
Contributor Author

I’m gonna eat my laptop if the next version needs yanking!

@blink1073 blink1073 merged commit 2c80e6c into ipython:main Dec 7, 2022
@blink1073
Copy link
Copy Markdown
Contributor

@maartenbreddels
Copy link
Copy Markdown
Contributor Author

image
👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Latest version break IPyWidgets

3 participants