Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions doc/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,7 @@ to be re-executable so HMR keeps `_MODEL` / `_CATALOG` alive.
unchanged** in the browser, provided they use `await
param.edit_async(...)` for parameter dialogs.

- **`dlw_wheels.py`** — non-importing wheel inspector. It validates archive
structure, pure-Python tags, Python/dependency compatibility, reserved
namespaces, and the dedicated `datalab.web_plugins` entry-point group.
- **`dlw_wheels.py`** — non-importing wheel inspector. It binds the rules of `datalab.plugins.wheels` (a verbatim copy of the DataLab desktop module, also used by the plugin catalog) to the dedicated `datalab.web_plugins` entry-point group: archive structure, pure-Python tags, Python/dependency compatibility and reserved namespaces.

- **`dlw_plugins.py`** — the single managed plugin registry for bundled/user
wheels and Python sources: discovery, activation, import ownership,
Expand Down
2 changes: 2 additions & 0 deletions doc/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ A tool is opened in one of two ways:

`datalab.plugins.tools`, `datalab.plugins.instruments` and `datalab.plugins.resources` are copied from DataLab Desktop into the host shim, like `datalab.plugins.recipe_binding`.

The wheel rules below come from `datalab.plugins.wheels`, also copied verbatim from DataLab Desktop and used by the plugin catalog, so a wheel is judged the same way everywhere; `dlw_wheels.py` only applies them to the `datalab.web_plugins` group. A Python test compares the copy with a sibling DataLab checkout when one is available.

Version 1 of the installer deliberately accepts only local `*-none-any`
pure-Python wheels compatible with Pyodide's Python version. Native payloads,
archive traversal, reserved host namespaces, and distribution/package/plugin
Expand Down
Loading
Loading