mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Remove prose from notebooks default package list (#13173)
This commit is contained in:
@@ -120,9 +120,6 @@ export class JupyterServerInstallation implements IJupyterServerInstallation {
|
||||
}, {
|
||||
name: 'pandas',
|
||||
version: '0.24.2'
|
||||
}, {
|
||||
name: 'prose-codeaccelerator',
|
||||
version: '1.3.0'
|
||||
}];
|
||||
this._requiredKernelPackages.set(constants.pysparkDisplayName, sparkPackages);
|
||||
this._requiredKernelPackages.set(constants.sparkScalaDisplayName, sparkPackages);
|
||||
@@ -526,7 +523,7 @@ export class JupyterServerInstallation implements IJupyterServerInstallation {
|
||||
|
||||
let versionSpecifier = useMinVersion ? '>=' : '==';
|
||||
let packagesStr = packages.map(pkg => `"${pkg.name}${versionSpecifier}${pkg.version}"`).join(' ');
|
||||
let cmd = `"${this.pythonExecutable}" -m pip install --user ${packagesStr} --extra-index-url https://prose-python-packages.azurewebsites.net`;
|
||||
let cmd = `"${this.pythonExecutable}" -m pip install --user ${packagesStr}`;
|
||||
return this.executeStreamedCommand(cmd);
|
||||
}
|
||||
|
||||
|
||||
@@ -339,16 +339,6 @@ export class PerFolderServerInstance implements IServerInstance {
|
||||
// Note: Get env from the install since it gets used elsewhere
|
||||
let env = this.getEnvWithConfigPaths(install.execOptions.env);
|
||||
|
||||
// 'MSHOST_TELEMETRY_ENABLED' and 'MSHOST_ENVIRONMENT' environment variables are set
|
||||
// for telemetry purposes used by PROSE in the process where the Jupyter kernel runs
|
||||
if (vscode.workspace.getConfiguration('telemetry').get<boolean>('enableTelemetry', true)) {
|
||||
env['MSHOST_TELEMETRY_ENABLED'] = true;
|
||||
} else {
|
||||
env['MSHOST_TELEMETRY_ENABLED'] = false;
|
||||
}
|
||||
|
||||
env['MSHOST_ENVIRONMENT'] = 'ADSClient-' + vscode.version;
|
||||
|
||||
// Start the notebook process
|
||||
let options: SpawnOptions = {
|
||||
shell: true,
|
||||
|
||||
Reference in New Issue
Block a user