Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate an improved jupyterlite deployment mechanism #579

Open
stevejpurves opened this issue Dec 5, 2022 · 0 comments
Open

Investigate an improved jupyterlite deployment mechanism #579

stevejpurves opened this issue Dec 5, 2022 · 0 comments
Labels
enhancement jlite-workshop Suggested issues for jlite workshop

Comments

@stevejpurves
Copy link
Collaborator

Context

Jupyterlite dependent code is built and bundled within the thebe-lite package found in this repository. This is then side-loaded by apps/pages that use thebe-core or thebe. This is a useful pattern as it allows downstream non-webpack bundlers to work with thebe while dynamically loading thebe-lite.

The current thebe-lite bundle is created with webpack and in addition to producing .js output files, also bundles the jupyterlite wheels in a directory structure are follows:

lib/
   build/pypi/
                all.json
                pyolite-0.1.0b15-py3-none.anywhl
                etc...
   thebe-lite.min.js
   etc...

Also due to the default jupyterlite configuration these files are always expected to be on this path, and a downstream page/app/server would need to make them available there.

Proposal

Can the bundling & deployment process be improved? and if so how?

Interesting things to aim for would be:

  • exposing an interface or docs that enable changes to be made to the jupyterlite configuration
  • allow the locations of the all.json and .whl files to be customized
  • changes that allow for/prep for use of kernels other than pyolite (related support for jupyterlite + xeus_python kernel #564 )
  • other....?

Tasks and updates

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement jlite-workshop Suggested issues for jlite workshop
Projects
None yet
Development

No branches or pull requests

1 participant