Improve Configure Python wizard experience for unfamiliar kernel names. (#17272)

This commit is contained in:
Cory Rivera
2021-10-06 08:52:54 -07:00
committed by GitHub
parent 747b8e84a8
commit 5a4d1599db
5 changed files with 12 additions and 3 deletions

View File

@@ -154,6 +154,7 @@ export class JupyterServerInstallation implements IJupyterServerInstallation {
this._kernelSetupCache = new Map<string, boolean>();
this._requiredKernelPackages = new Map<string, PythonPkgDetails[]>();
this._requiredKernelPackages.set(constants.ipykernelDisplayName, [requiredJupyterPkg]);
this._requiredKernelPackages.set(constants.python3DisplayName, [requiredJupyterPkg]);
this._requiredKernelPackages.set(constants.powershellDisplayName, [requiredJupyterPkg, requiredPowershellPkg]);
this._requiredKernelPackages.set(constants.pysparkDisplayName, requiredSparkPackages);