Skip to content

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.

fix: splitting when installing multiple packages (#7307)

Myles Scolnicka4ac33ccb26f
diff --git a/frontend/src/components/editor/chrome/panels/packages-panel.tsx b/frontend/src/components/editor/chrome/panels/packages-panel.tsx
index 0b7f88050b..9d0ccc6647 100644
--- a/frontend/src/components/editor/chrome/panels/packages-panel.tsx
+++ b/frontend/src/components/editor/chrome/panels/packages-panel.tsx
@@ -194,7 +194,7 @@ const InstallPackageForm: React.FC<{
const installPackages = () => {
const cleanedInput = stripPackageManagerPrefix(input);
handleInstallPackages(
- cleanedInput.split(",").map((p) => p.trim()),
+ [cleanedInput], // the backend will handle splitting the packages
onSuccessInstallPackages,
);
};