mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-07 10:08:50 -05:00
[PR #1345] [MERGED] chore(labs): upgrade marimo pin to 0.23.1 and fix resulting lint issues #9039
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1345
Author: @profvjreddi
Created: 4/16/2026
Status: ✅ Merged
Merged: 4/16/2026
Merged by: @profvjreddi
Base:
dev← Head:chore/marimo-0.23-upgrade📝 Commits (1)
bb0e38fchore(labs): upgrade marimo pin to 0.23.1 and fix resulting lint issues📊 Changes
34 files changed (+67 additions, -69 deletions)
View changed files
📝
labs/requirements.txt(+1 -1)📝
labs/vol1/lab_00_introduction.py(+2 -4)📝
labs/vol1/lab_01_ml_intro.py(+2 -2)📝
labs/vol1/lab_02_ml_systems.py(+2 -2)📝
labs/vol1/lab_03_ml_workflow.py(+2 -2)📝
labs/vol1/lab_04_data_engr.py(+2 -2)📝
labs/vol1/lab_05_nn_compute.py(+2 -2)📝
labs/vol1/lab_06_nn_arch.py(+2 -2)📝
labs/vol1/lab_07_ml_frameworks.py(+2 -2)📝
labs/vol1/lab_08_model_train.py(+2 -2)📝
labs/vol1/lab_09_data_selection.py(+2 -2)📝
labs/vol1/lab_10_model_compress.py(+2 -2)📝
labs/vol1/lab_11_hw_accel.py(+2 -2)📝
labs/vol1/lab_12_perf_bench.py(+2 -2)📝
labs/vol1/lab_13_model_serving.py(+2 -2)📝
labs/vol1/lab_14_ml_ops.py(+2 -2)📝
labs/vol1/lab_15_responsible_engr.py(+2 -2)📝
labs/vol1/lab_16_ml_conclusion.py(+2 -2)📝
labs/vol2/lab_01_introduction.py(+2 -2)📝
labs/vol2/lab_02_compute_infra.py(+2 -2)...and 14 more files
📄 Description
bumps the marimo dependency from >=0.19.0 to >=0.23.1 and updates all 33 labs to reflect the new generated-with version. newer marimo adds a stricter branch-expression rule (MR002) that flagged the
if getattr(ledger, "is_wasm", False): await ledger.load_async()pattern used at the top of every lab.changes
labs/requirements.txt>=0.19.0→>=0.23.1__generated_withstring updated to0.23.1await ledger.load_async()now bound to_so marimo knows it's not a display expressionlab_00_introduction.pyfrom mlsysim import Hardwareat module scope that broke the App init contract in 0.23.1verification
marimo checkpasses with zero issues across all 33 labspytest labs/tests/test_static.py: 656 passed, 4 skipped, 1 xfailedwhy now
user asked for labs to be on latest marimo. this is the minimal upgrade that gets clean linting without touching lab content. a followup pass for the widget-in-gated-cell pattern (flagged by the audit script in the new ci sanity tooling) can land separately once we understand whether newer marimo's dataflow handling makes that pattern benign.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.