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

extend thebe option for pipilite urls #703

Open
stevejpurves opened this issue Nov 20, 2023 · 1 comment
Open

extend thebe option for pipilite urls #703

stevejpurves opened this issue Nov 20, 2023 · 1 comment
Assignees
Labels
thebe-lite Applies to thebe-lite and all things thebe-WASM

Comments

@stevejpurves
Copy link
Collaborator

We currently hard code piplite urls here: https://github.com/executablebooks/thebe/blob/cce89f9051b750145081e78ed7cf8deff24ae14e/packages/react/src/ThebeServerProvider.tsx#L95

These should be defaults that can be overridden via the options objects

@stevejpurves stevejpurves self-assigned this Nov 20, 2023
@stevejpurves stevejpurves added the thebe-lite Applies to thebe-lite and all things thebe-WASM label Nov 20, 2023
@stevejpurves
Copy link
Collaborator Author

here's an example of a lite option set currently in use in the simple demos

      {
        "litePluginSettings": {
          "@jupyterlite/pyodide-kernel-extension:kernel": {
            "pipliteUrls": ["https://unpkg.com/@jupyterlite/[email protected]/pypi/all.json"],
            "pipliteWheelUrl": "https://unpkg.com/@jupyterlite/[email protected]/pypi/piplite-0.2.0-py3-none-any.whl"
          }
        },
        "enableMemoryStorage": true,
        "settingsStorageDrivers": ["memoryStorageDriver"]
      }

There is probably more to add here in order to introduce the service worker overrides now available to us in jupyterlite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
thebe-lite Applies to thebe-lite and all things thebe-WASM
Projects
None yet
Development

No branches or pull requests

1 participant