Skip to content

Conversation

@akshayka
Copy link
Contributor

When a package is installed, we now run cells with non-static dependencies on the associated module.

For example, if a cell imports a module that in turn imports pandas (but fails with a ModuleNotFoundError on pandas), we now mark that cell for execution after successful installation of pandas.

Screen.Recording.2025-10-20.at.8.35.24.PM.mov

When a package is installed, we now run cells with non-static
dependencies on the associated module.

For example, if a cell imports a module that in turn imports pandas
(but fails with a ModuleNotFoundError on pandas), we now mark that
cell for execution after successful installation of pandas.
@akshayka akshayka requested a review from koaning October 21, 2025 03:39
@akshayka akshayka requested a review from dmadisetti as a code owner October 21, 2025 03:39
@vercel
Copy link

vercel bot commented Oct 21, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
marimo-docs Ready Ready Preview Comment Oct 21, 2025 3:39am

💡 Enable Vercel Agent with $100 free credit for automated AI reviews

Copy link
Collaborator

@dmadisetti dmadisetti left a comment

Choose a reason for hiding this comment

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

Nice, looks pretty clean- nice tidy too. See the spots for a refactor

@koaning
Copy link
Contributor

koaning commented Oct 21, 2025

Yeah, this is a super nice quality of life improvement. Works as expected on my end :)

Copy link
Contributor

@koaning koaning left a comment

Choose a reason for hiding this comment

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

LGTM

@mscolnick mscolnick merged commit a5a3c88 into main Oct 21, 2025
33 of 59 checks passed
@mscolnick mscolnick deleted the aka/improve-package-installation-autorun branch October 21, 2025 13:52
@dmadisetti dmadisetti added the enhancement New feature or request label Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants