[GH-ISSUE #1531] fix(ci): labs still reference mlsysim-0.1.0 wheel after pyproject bumped to 0.1.1 #18051

Closed
opened 2026-05-28 21:48:20 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Shashank-Tripathi-07 on GitHub (Apr 25, 2026).
Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1531

Problem

PR #1523 bumped mlsysim/pyproject.toml to version 0.1.1 but the micropip.install() calls in all lab files were not updated. Every lab still hardcodes:

await micropip.install("../../wheels/mlsysim-0.1.0-py3-none-any.whl", ...)

The TestWheelConsistency test in labs/tests/test_static.py correctly catches this and is now failing on every PR that touches the repo, including unrelated ones.

Failing checks

  • 🧪 Validate Notebooks: TestWheelConsistency::test_micropip_url_matches_pyproject_version fails for all 33 labs
  • 🌐 WASM Export Smoke Test: cascades from the wrong wheel being loaded

Fix

Bulk-replace mlsysim-0.1.0-py3-none-any.whl with mlsysim-0.1.1-py3-none-any.whl across all lab files under labs/vol1/ and labs/vol2/.

One-liner:

grep -rl "mlsysim-0.1.0-py3-none-any.whl" labs/ | xargs sed -i 's/mlsysim-0.1.0-py3-none-any.whl/mlsysim-0.1.1-py3-none-any.whl/g'

Going forward, this update should be part of the mlsysim release checklist so it stays in sync with pyproject.toml.

Originally created by @Shashank-Tripathi-07 on GitHub (Apr 25, 2026). Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1531 ## Problem PR #1523 bumped `mlsysim/pyproject.toml` to version `0.1.1` but the `micropip.install()` calls in all lab files were not updated. Every lab still hardcodes: ```python await micropip.install("../../wheels/mlsysim-0.1.0-py3-none-any.whl", ...) ``` The `TestWheelConsistency` test in `labs/tests/test_static.py` correctly catches this and is now failing on every PR that touches the repo, including unrelated ones. ## Failing checks - `🧪 Validate Notebooks`: `TestWheelConsistency::test_micropip_url_matches_pyproject_version` fails for all 33 labs - `🌐 WASM Export Smoke Test`: cascades from the wrong wheel being loaded ## Fix Bulk-replace `mlsysim-0.1.0-py3-none-any.whl` with `mlsysim-0.1.1-py3-none-any.whl` across all lab files under `labs/vol1/` and `labs/vol2/`. One-liner: ```bash grep -rl "mlsysim-0.1.0-py3-none-any.whl" labs/ | xargs sed -i 's/mlsysim-0.1.0-py3-none-any.whl/mlsysim-0.1.1-py3-none-any.whl/g' ``` Going forward, this update should be part of the mlsysim release checklist so it stays in sync with `pyproject.toml`.
GiteaMirror added the area: toolstype: bug labels 2026-05-28 21:48:20 -05:00
Author
Owner

@profvjreddi commented on GitHub (Apr 25, 2026):

🚀

<!-- gh-comment-id:4319653397 --> @profvjreddi commented on GitHub (Apr 25, 2026): 🚀
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cs249r_book#18051