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

Make `0.x` versions of `jupyterlite-xeus-python` compatible with JupyterLite 0.2.0 #184

Closed jtpio closed 8 months ago

jtpio commented 9 months ago

The update to JupyterLite 0.2.0 was done in https://github.com/jupyterlite/xeus-python-kernel/pull/155.

There isn't many breaking changes in JupyterLite 0.2.0 that affect jupyterlite-xeus-python.

Except for the removal of ENV_EXTENSIONS from the top-level jupyterlite_core.addons.federated_extensions:

https://github.com/jupyterlite/xeus-python-kernel/blob/b00d80dffe7e713ff489f47f8218265405cffefa/jupyterlite_xeus_python/env_build_addon.py#L25-L28

Maybe it could be useful to enable jupyterlite-xeus-python==0.x to work with JupyterLite 0.2.0, in case #164 or https://github.com/emscripten-forge/recipes/pull/643 would prevent some users from upgrading.

jtpio commented 9 months ago

This could be done here in the 0.x branch by adding a try / except block.