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
8 changes: 5 additions & 3 deletions src/runtime/builtin_wheels/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ DataLab-Web build. They are explicit application assets, not a general wheel
installer: Pyodide never searches a public package index for them or resolves
their Desktop dependencies.

The Camera and Pulse wheels are built from their sibling plugin checkouts:
The Camera and Pulse wheels are the artifacts attached to the GitHub releases of their plugin repositories, the same files as in the [DataLab plugin catalog](https://datalab-platform.com/plugins/):

```powershell
python -m build --wheel --outdir <output-directory>
gh release download v<version> -R DataLab-Platform/<plugin-repository> -p "*-py3-none-any.whl" -D src/runtime/builtin_wheels
```

Copy the resulting artifact here, then update its filename, version, byte size,
Do not rebuild them locally: a local build is not byte-identical to the released artifact, even for the same version.

Then update the filename, version, byte size,
and SHA-256 in `src/runtime/bundledPlugins.ts`. Run the focused TypeScript,
Python, and Playwright application contracts after every replacement. The
TypeScript tests fail if a committed artifact and the integrity catalog drift.
Expand Down
Binary file not shown.
Binary file not shown.
8 changes: 4 additions & 4 deletions src/runtime/bundledPlugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ export const BUNDLED_PLUGIN_WHEELS: readonly BundledPluginWheel[] =
version: "0.2.0",
filename: "datalab_camera_characterization-0.2.0-py3-none-any.whl",
sha256:
"d5e483caf43418c5182ac717ce724ba95b973e4aea835be6cf8b0af20716b81a",
sizeBytes: 332_591,
"eadf9a309245e806bcea118996f3ed61886841891167ed70f529dcf945fb07d7",
sizeBytes: 328_887,
url: cameraWheelUrl,
}),
Object.freeze({
distribution: "datalab-pulse-characterization",
version: "0.2.0",
filename: "datalab_pulse_characterization-0.2.0-py3-none-any.whl",
sha256:
"d8797b52a5172a8c426ab72c8772001070760ee71d5a755f4ccdcd9bbc19c83e",
sizeBytes: 82_323,
"24a45b6cf4bb67cbacab29288d91f943cd54f556f5db61d0554e69ccc723a53f",
sizeBytes: 79_669,
url: pulseWheelUrl,
}),
]);
Expand Down
Loading