Skip to content

Keep the micropip import hook independent of notebook globals - #12265

Merged
mscolnick merged 2 commits into
mainfrom
ms/fix-micropip-finder
Dec 3, 2026
Merged

mscolnick merged 2 commits into
mainfrom
ms/fix-micropip-finder

Conversation

@mscolnick

Copy link
Copy Markdown
Contributor

This pull request was authored by a coding agent.

Keep the fallback micropip finder and loader in the runtime module so importing micropip still works after a notebook clears its globals.

Signed-off-by: Myles Scolnick <myles@marimo.io>
Signed-off-by: Myles Scolnick <myles@marimo.io>
@mscolnick
mscolnick marked this pull request as ready for review December 3, 2026 18:19
Copilot AI balanced review requested due to automatic review settings December 3, 2026 18:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@mscolnick
mscolnick requested a review from dmadisetti December 3, 2026 18:20
@mscolnick
mscolnick merged commit 9a29614 into main Dec 3, 2026
43 checks passed
@mscolnick
mscolnick deleted the ms/fix-micropip-finder branch December 3, 2026 19:05
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.26.1-dev123

mscolnick added a commit that referenced this pull request Dec 3, 2026
…#12266)

- **This pull request was authored by a coding agent.**
- Build on #12265 (MO-8932) by moving the fallback API into a typed
Python module. Exercise a fresh import in strict mode and verify that
the finder can load the module and call `install()` after kernel
teardown.
- Synchronize the reload race test with the watcher's autorun command
and measure kernel scan counts with the background watcher idle. Fixes
MO-8914 and MO-8935.
- Handle Windows' closed-socket error during WebSocket test server
shutdown. Fixes MO-8894.
- Run four pytest workers on Windows to reduce loopback port pressure
during full-suite runs. Addresses MO-8927.
- Verified existing fixes on main for asset newlines (#12175,
MO-8906/MO-8907/MO-8908), template version isolation (#12199,
MO-8913/MO-8916), the lint test import (#12195, MO-8926), and the Add
Model timer (#12176, MO-8895).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants