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
fix: missing package detection (#3457)
Akshay Agrawal13e3045fb795
diff --git a/marimo/_runtime/runtime.py b/marimo/_runtime/runtime.pyindex 9c204c6771..78ad18f163 100644--- a/marimo/_runtime/runtime.py+++ b/marimo/_runtime/runtime.py@@ -1899,11 +1899,13 @@ class Kernel:returnmissing_packages_set = set(request.versions.keys())- # Append missing modules+ # Append all other missing packages from the notebook; the missing+ # package request only contains the packages from the cell the user+ # executed.missing_packages_set.update([- self.package_manager.package_to_module(pkg)- for pkg in self.module_registry.missing_modules()+ self.package_manager.module_to_package(module)+ for module in self.module_registry.missing_modules()])missing_packages = list(sorted(missing_packages_set))