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.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
tidy: remove empty `files/` folder from every export (#10047)
Dylan Madisettibe7757e8b404
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.ymlindex 7c47eaff9f..1f1480d4f9 100644--- a/.github/workflows/pages.yml+++ b/.github/workflows/pages.yml@@ -36,7 +36,7 @@ jobs:- name: 🛠️ Run exportrun: |- uvx marimo export html-wasm frontend/public/files/wasm-intro.py -o out --mode run+ uvx marimo export html-wasm frontend/public/export_demos/wasm-intro.py -o out --mode runsed -i -e "s/after_delay/off/g" out/index.html- name: 📄 List changed filesdiff --git a/frontend/public/files/wasm-intro.py b/frontend/public/export_demos/wasm-intro.pysimilarity index 100%rename from frontend/public/files/wasm-intro.pyrename to frontend/public/export_demos/wasm-intro.pydiff --git a/frontend/src/core/wasm/store.ts b/frontend/src/core/wasm/store.tsindex c752cdc918..764219684b 100644--- a/frontend/src/core/wasm/store.ts+++ b/frontend/src/core/wasm/store.ts@@ -62,7 +62,7 @@ const remoteDefaultFileStore: FileStore = {if (window.location.hostname !== "marimo.app") {return null;}- const url = new URL("files/wasm-intro.py", document.baseURI);+ const url = new URL("export_demos/wasm-intro.py", document.baseURI);return fetch(url.toString()).then((res) => (res.ok ? res.text() : null)).catch(() => null);diff --git a/pyproject.toml b/pyproject.tomlindex 14cfca0dc2..5e94a971eb 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -314,7 +314,7 @@ exclude = ["frontend","marimo/_smoke_tests","marimo/_snippets/data",- "marimo/_static/files/wasm-intro.py",+ "marimo/_static/export_demos/wasm-intro.py","marimo/_test_utils/_tutorials","marimo/_test_utils/codegen_data","marimo/_tutorials",diff --git a/scripts/buildfrontend.sh b/scripts/buildfrontend.shindex 6b6025822d..793d80ad24 100755--- a/scripts/buildfrontend.sh+++ b/scripts/buildfrontend.sh@@ -17,7 +17,7 @@ if $cmd; thenecho "Copying new static files..."mkdir -p marimo/_static/cp -R frontend/dist/* marimo/_static/- rm -rf marimo/_static/files/wasm-intro.py+ rm -rf marimo/_static/export_demosecho "Copying CLAUDE.md documentation..."cp docs/_static/CLAUDE.md marimo/_static/CLAUDE.mdecho "Compilation succeeded.\n"