mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 09:35:37 -05:00
Skip checking if python is running when only doing package upgrades during python install. (#13995)
This commit is contained in:
@@ -151,6 +151,9 @@ export class ConfigurePathPage extends BasePage {
|
||||
|
||||
this.model.pythonLocation = pythonLocation;
|
||||
this.model.useExistingPython = !!this.existingInstallButton.checked;
|
||||
this.model.packageUpgradeOnly = false;
|
||||
} else {
|
||||
this.model.packageUpgradeOnly = true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user