Skip to content

Add micropip runtime support#32

Draft
zklapow wants to merge 5 commits into
HubSpot:mainfrom
zklapow:micropip-runtime-support
Draft

Add micropip runtime support#32
zklapow wants to merge 5 commits into
HubSpot:mainfrom
zklapow:micropip-runtime-support

Conversation

@zklapow

@zklapow zklapow commented Jun 7, 2026

Copy link
Copy Markdown
Member

Summary

  • add host-side MicropipResolver support and a default HTTP resolver
  • add allowlisted PyPI resolver helpers that parse requirements or lock-style files and reject non-allowlisted requests before making HTTP requests
  • route remote package bytes through HostBridge with chunked transfer
  • source the patched micropip runtime package from the zklapow/micropip boomslang branch via a submodule
  • install the submodule package into generated Python runtime resources through just resources and reapply it after just fetch-main-wasm installs published main runtime assets
  • document asyncio.run usage and pure-Python wheel limits

Validation

  • nix develop -c just fetch-main-wasm
  • nix develop -c ./mill --jobs 0 build
  • nix develop -c ./mill --jobs 0 test
  • nix develop -c just python-test
  • nix develop -c just python-wheel
  • installed boomslang-py/dist/*.whl into a fresh venv and ran boomslang-py/tests

@zklapow zklapow force-pushed the micropip-runtime-support branch 2 times, most recently from df69902 to 0432bb6 Compare June 10, 2026 11:51
@zklapow zklapow force-pushed the micropip-runtime-support branch from 0432bb6 to f4b25a4 Compare June 13, 2026 00:23
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