Check kernel dependencies when a new session is started (#16040)

* check dependencies when a new session is started

* fix test

* fix issue when kernel spec is not found
This commit is contained in:
Lucy Zhang
2021-07-09 12:51:21 -07:00
committed by GitHub
parent e206eb81a3
commit 6c5d35eaae
3 changed files with 8 additions and 1 deletions

View File

@@ -476,7 +476,7 @@ export class JupyterServerInstallation implements IJupyterServerInstallation {
await fs.remove(this._oldPythonInstallationPath);
this._upgradeInProcess = false;
} else {
} else if (!installSettings.packageUpgradeOnly) {
await vscode.commands.executeCommand('notebook.action.restartJupyterNotebookSessions');
}
})