google-colab-cli 0.6.0 depends on jupyter-kernel-client without an upper
version bound but still calls the removed KernelClient API.
Reproduction
echo "print('Hello')" | colab exec
Error
AttributeError: module 'jupyter_kernel_client' has no attribute 'KernelClient'
Environment:
google-colab-cli==0.6.0
jupyter-kernel-client==1.0.0
- Python 3.12
Pinning jupyter-kernel-client==0.9.0 fixes it.
Suggested fix: support the 1.x API or temporarily constrain the dependency to
jupyter-kernel-client<1
should I open a PR?
google-colab-cli 0.6.0depends onjupyter-kernel-clientwithout an upperversion bound but still calls the removed
KernelClientAPI.Reproduction
Error
Environment:
google-colab-cli==0.6.0jupyter-kernel-client==1.0.0Pinning
jupyter-kernel-client==0.9.0fixes it.Suggested fix: support the 1.x API or temporarily constrain the dependency to
jupyter-kernel-client<1should I open a PR?