jupyterlite / xeus-python-kernel

xeus-python in JupyterLite
https://xeus-python-kernel.readthedocs.io
BSD 3-Clause "New" or "Revised" License
30 stars 19 forks source link

Failed to start the kernel (xeus-python 0.15.9) #130

Closed benbovy closed 1 year ago

benbovy commented 1 year ago

Description

Not sure this is the right place to report it, but the very recent deployments of jupyterlite + xeus-python-kernel (last version: 0.15.9) on RTD did not work for me. Jupyterlite is built and deployed without error but the xeus python kernel fails to start when visiting the web page (see browser output below).

Reproduce

Links to a deployment that is not working (using xeus-python 0.15.9):

Links to a deployment that is working (pinning xeus-python <=0.15.7):

Expected behavior

No error when the xeus kernel is initialized.

Context

Browser Output

The relevant console logs:

Screenshot 2023-05-02 at 10 42 47

The error is raised here:

Screenshot 2023-05-02 at 10 43 16
martinRenou commented 1 year ago

Thanks! I am releasing jupyterlite-xeus-python right now with https://github.com/jupyterlite/xeus-python-kernel/pull/129 which should fix the immediate issue.

The underlying issue is that the latest xeus-python version needs empack v3, which jupyterlite-xeus-python does not use. We'll update soon jupyterlite-xeus-python to empack v3, but from now on jupyterlite-xeus-python would always pull a version of xeus-python that works for sure.

benbovy commented 1 year ago

Excellent thanks!