Skip to content

fix: JupyterLite bootstrap installs the bundled wheel, using the shared template - #180

Merged
petercorke merged 6 commits into
mainfrom
fix/jupyterlite-bootstrap
Nov 20, 2026
Merged

petercorke merged 6 commits into
mainfrom
fix/jupyterlite-bootstrap

Conversation

@petercorke

Copy link
Copy Markdown
Owner

Adopts rvc-ecosystem's notebook tooling, so MVTB, RTB and bdsim install the same way.

Tested: pre-commit hooks pass; the Node/Pyodide install check passes with the built wheel.

🤖 Generated with Claude Code

petercorke and others added 4 commits November 20, 2026 08:33
…ed template

The bootstrap globbed /pypi, which does not exist in the kernel, so it always installed
the last PyPI release.  It is now the rvc-ecosystem template with MVTB's constants: it
installs through piplite, so the toolbox is the wheel built with the site, and it tells
the reader to wait while it installs.  spatialmath-python>=1.1.19 no longer lists
pre-commit as a runtime dependency, so the deps=False workaround for it goes.

Refs #160, #172, #137

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Replaces the local .githooks/pre-commit, sync_bootstrap.py and clear_outputs.py, and the
tests of them, with the shared hooks, as bdsim does.  The shared clear_outputs.py
clears every dirty cell, not only the first (the any() over a generator), which is the
first part of #157.  CI runs the hooks instead of the two --check commands.

Refs #157

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Outputs cleared, the same kernel in every notebook, written as nbformat writes them, and
the logo in the first cell given a height and style="height:auto" so that Colab and a
narrow pane do not squash it.  Dropped the editor's toc and varInspector entries and
Colab's own colab and accelerator entries.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The bootstrap no longer installs from a pypi/ path, so the redirect never matched and
the check installed the last PyPI release.  Redirect the install of the toolbox itself
to the mounted wheel.

Refs #157

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 23 complexity · 0 duplication

Metric Results
Complexity 23
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

petercorke and others added 2 commits November 20, 2026 09:06
The shared template reports the package name, not MVTB.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@petercorke
petercorke merged commit f0584af into main Nov 20, 2026
33 checks passed
@petercorke
petercorke deleted the fix/jupyterlite-bootstrap branch November 20, 2026 00:19
@github-actions github-actions Bot mentioned this pull request Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant