Skip checking if python is running when only doing package upgrades during python install. (#13995)

This commit is contained in:
Cory Rivera
2021-01-19 20:01:59 -08:00
committed by GitHub
parent 7d4fa0aa9b
commit 9e9fac2991
3 changed files with 10 additions and 4 deletions

View File

@@ -23,6 +23,7 @@ export interface ConfigurePythonModel {
pythonPathLookup: PythonPathLookup;
packagesToInstall: PythonPkgDetails[];
installation: JupyterServerInstallation;
packageUpgradeOnly: boolean;
}
export class ConfigurePythonWizard {
@@ -164,7 +165,8 @@ export class ConfigurePythonWizard {
let installSettings: PythonInstallSettings = {
installPath: pythonLocation,
existingPython: useExistingPython,
packages: this.model.packagesToInstall
packages: this.model.packagesToInstall,
packageUpgradeOnly: this.model.packageUpgradeOnly
};
this.jupyterInstallation.startInstallProcess(false, installSettings)
.then(() => {