Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: install narwhals in pyodide bootstrap (#2588)

Akshay Agrawal28f65deb8065
diff --git a/examples/third_party/plotly/mapbox.py b/examples/third_party/plotly/mapbox.py
index 4d7d95d9a3..c5edb00c29 100644
--- a/examples/third_party/plotly/mapbox.py
+++ b/examples/third_party/plotly/mapbox.py
@@ -9,7 +9,7 @@
import marimo
-__generated_with = "0.8.19"
+__generated_with = "0.9.4"
app = marimo.App()
diff --git a/frontend/src/core/wasm/worker/bootstrap.ts b/frontend/src/core/wasm/worker/bootstrap.ts
index a551bbe6c0..dec04469ed 100644
--- a/frontend/src/core/wasm/worker/bootstrap.ts
+++ b/frontend/src/core/wasm/worker/bootstrap.ts
@@ -19,7 +19,7 @@ declare let loadPyodide: (opts: {
// We would like this initialization to be parallelizable
// however, there is some waterfall in the initialization process
// 1. Load Pyodide
-// 2. Install marimo and it's required dependencies
+// 2. Install marimo and its required dependencies
// 3. Install the dependencies from the notebook
// 3.a Install from pyodide supported wheels
// 3.b Install from micropip
@@ -96,6 +96,7 @@ export class DefaultWasmController implements WasmController {
[
"Markdown==3.6",
"pymdown-extensions==10.8.1",
+ "narwhals==1.9.2",
],
deps=False,
);
@@ -116,6 +117,7 @@ export class DefaultWasmController implements WasmController {
"${getMarimoWheel(version)}",
"Markdown==3.6",
"pymdown-extensions==10.8.1",
+ "narwhals==1.9.2",
],
deps=False,
);