Skip to content

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 <[email protected]>
@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