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

Prepare for jupyter_client 7.0 #244

Merged
merged 5 commits into from
Nov 14, 2021
Merged

Conversation

davidbrochart
Copy link
Member

jupyter_console seems to directly use jupyter_client's ZMQSocketChannel's methods through a KernelClient, instead of e.g. BlockingKernelClient. These methods are now async in jupyter_client master (and in the next 7.0 release). One option is to wrap each of these method calls with run_sync.
I've done this change so that it fixes jupyter/jupyter_client#653, but there might be other places where this is needed.

@davidbrochart davidbrochart marked this pull request as ready for review June 2, 2021 07:59
@davidbrochart
Copy link
Member Author

With this we should be ready for jupyter_client 7.0.

Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
@chronitis
Copy link

With jupyter_client 7.0.6, this still fails because of block arguments to get_msg (jupyter/jupyter_client#671); dropping those arguments seems to be enough to have it working.

@davidbrochart
Copy link
Member Author

Should be okay now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'coroutine' object is not subscriptable error on jupyter_console
4 participants