Skip to content

List packages that are unavailable in jupyterlite environment #140

Open
@paddymul

Description

@paddymul

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions