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

fix: use comm package in backwards compatible way #1028

Merged

Conversation

maartenbreddels
Copy link
Contributor

This makes use of the comm package, but in a backwards compatible way.

Alternative to ipython/comm#6

See

@maartenbreddels
Copy link
Contributor Author

Not sure I understand what the ipyparallel failure is about, and if it is related to this PR?

@blink1073 blink1073 added the bug label Nov 23, 2022
@blink1073
Copy link
Member

Not sure I understand what the ipyparallel failure is about, and if it is related to this PR?

It is not

@maartenbreddels
Copy link
Contributor Author

maartenbreddels commented Nov 23, 2022

@martinRenou what's your take on this? Do you think it's preferred over: ipython/comm#6

I don't like the multiple inheritance, but hey, it works.

@martinRenou
Copy link
Contributor

I like this approach here!

That way we can bypass the traitlets slowness with the new comm.create_comm API but we have a backward compatible ipykernel.comm.Comm class that inherits from Traitlets Configurable.

Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@blink1073 blink1073 enabled auto-merge (squash) November 24, 2022 13:30
@blink1073 blink1073 merged commit c5a045f into ipython:main Nov 24, 2022
@blink1073
Copy link
Member

I'm on holiday, so I'll wait until next Monday to cut a release.

@martinRenou
Copy link
Contributor

Thanks a lot @blink1073, and enjoy your holiday ! Sorry for breaking everything right before your holiday 🥲

blink1073 added a commit to blink1073/ipykernel that referenced this pull request Dec 7, 2022
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.

None yet

3 participants