Repository navigation
DEPENDENCIES.lock: omnipython-lib at v0.8.1rc6 - #705
Merged
Merged
Conversation
bdbarnett
added a commit
that referenced
this pull request
Nov 26, 2026
…time (#707) A second browser build: Home and every app of the apps repository frozen into one WebAssembly runtime, with everything the apps import, so the page boots into Home and fetches no packages. Apps that can't work in a browser are still in and say what they lack. The shared build (the omnipython variant, which the website, docs examples and workbench load) doesn't change. One command builds it, with its inputs as arguments: `scripts/build_wasm_allapps.py --apps-ref main --omnipython-ref main --out site`. It fetches the two repositories at those refs, builds the new `allapps` variant with `build_mp.py`, and writes `index.html`, the runtime, its provenance and `allapps.json` (the commits that went in). The variant's manifest takes what to freeze from each app's `package.json`, as omip reads it, rather than a list kept by hand. `build_mp.py` gains `--library-checkout` and `--library-source NAME=PATH`, so the library and applibs come from the refs asked for instead of the pins. A manual-dispatch workflow, All-apps browser page, runs the same command and uploads the page as an artifact without publishing anything. `docs/guides/build-the-all-apps-page.md` covers inputs, output, serving, size (11.2 MB, 4.9 MB gzipped) and time (2 min 25 s from scratch on 4 cores), CI, and how it differs from the shared build. This branch carries #706's commit (os.dupterm), which the REPL app needs; it will drop out once #706 merges. I built it from apps and omnipython main, then again with PyDevices/apps#293's fixes, and drove it in headless Chromium: Home boots with its six tabs, every app opens or says why it can't run in a browser, REPL (from its Home tile and from `?app=repl`) runs `print(6*7)` and prints 42 through vtterm's display keyboard, Shell runs `ls`, and no request goes anywhere but the page's own server except Backline's default drum kit, a GitHub release download that the browser refuses for CORS. The new `LibraryRefs` tests pass, as do the rest of `test_build_mp` and `test_provenance` now that the branch is on main after #705 (the commit message's note that four failures happen on main was written before that rebase). The workflow itself hasn't run yet.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves the omnipython library to its v0.8.1rc6 release candidate (c97d8ea), which carries applibs 0.1.3rc5.