jupyterlite / jupyterlite/pyodide-kernel

List packages that are unavailable in jupyterlite environment

Open
#140 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
90
Forks
47
Avg merge
3d 13h
Merged PRs (30d)
11

Description

### Problem

I am tyring to make my package compatible with jupyterlite. There are core python packages that my package raw imports that aren't available in jupyter lite. I realize this is a probably a kernel specific problem.

So far I have run into errors importing `psutil` and `packaging`. I can fix this by wrapping the imports in `try/except`, but having to build a new version of my library each time is cumbersome.

### Proposed Solution

At a minimum a list of all python core modules that aren't available in jupyterlite would be helpful.
Maybe a line in developer docs with a `find -type f ./module_py_root | grep py$ | xargs grep -E '(psutil|packaging)' | grep import" to show library maintainers all relevant lines to look at.

I don't know if there is a way to add this as a ruff check.

### Additional context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.