fix: use Pyodide-bundled fastparquet for WASM marimo test#532
Merged
Conversation
Install fastparquet and pyarrow from Pyodide's native WASM bundle before installing buckaroo with deps=False, avoiding micropip's dependency resolution failure on non-pure-Python wheels. - Pre-install fastparquet, pyarrow from Pyodide bundle in buckaroo_simple.py - Install buckaroo with deps=False to skip failing dep resolution - Add browser console/error capture to Playwright test for CI debugging - Increase test timeouts (120s widget, 180s global) for WASM compilation - Make serialization_utils.py handle missing fastparquet gracefully - Include generated WASM HTML output Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
b49eb37 to
4596128
Compare
This was referenced Feb 21, 2026
paddymul
added a commit
that referenced
this pull request
Feb 22, 2026
Install fastparquet and pyarrow from Pyodide's native WASM bundle before installing buckaroo with deps=False, avoiding micropip's dependency resolution failure on non-pure-Python wheels. - Pre-install fastparquet, pyarrow from Pyodide bundle in buckaroo_simple.py - Install buckaroo with deps=False to skip failing dep resolution - Add browser console/error capture to Playwright test for CI debugging - Increase test timeouts (120s widget, 180s global) for WASM compilation - Make serialization_utils.py handle missing fastparquet gracefully - Include generated WASM HTML output Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced Feb 26, 2026
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.
Summary
fastparquetandpyarrowfrom Pyodide's native WASM bundle before installingbuckaroowithdeps=Falsemicropip.install("buckaroo")failed with "Can't find a pure Python 3 wheel" because micropip's dependency resolution tried to fetchpyarrow(a C extension) from PyPI, even though Pyodide 0.27.7 bundles bothfastparquet 2024.5.0andpyarrownativelydeps=Falseto bypass resolutionChanges
docs/example-notebooks/marimo-wasm/buckaroo_simple.py: Pre-install fastparquet/pyarrow from Pyodide bundle, install buckaroo withdeps=Falsebuckaroo/serialization_utils.py: Gracefultry/except ImportErroraroundfastparquetimport (defense in depth)packages/buckaroo-js-core/pw-tests/wasm-marimo.spec.ts: Add browser console/error capture for CI debugging, increase timeoutspackages/buckaroo-js-core/playwright.config.wasm-marimo.ts: Increase global timeout to 180sdocs/extra-html/example_notebooks/buckaroo_simple/: Generated WASM HTML outputTest plan
🤖 Generated with Claude Code