From 0e9f1ad6d1da36a367061978eb551f58b5cfee5c Mon Sep 17 00:00:00 2001 From: Lucy Zhang Date: Thu, 10 Jun 2021 16:37:02 -0400 Subject: [PATCH] filter out prose-accelerator (#15633) (#15654) --- extensions/notebook/src/jupyter/jupyterServerInstallation.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/notebook/src/jupyter/jupyterServerInstallation.ts b/extensions/notebook/src/jupyter/jupyterServerInstallation.ts index 319ccae0a1..f111e0acd9 100644 --- a/extensions/notebook/src/jupyter/jupyterServerInstallation.ts +++ b/extensions/notebook/src/jupyter/jupyterServerInstallation.ts @@ -862,6 +862,8 @@ export class JupyterServerInstallation implements IJupyterServerInstallation { private async createInstallPipPackagesHelpNotebook(userInstalledPipPackages: PythonPkgDetails[]): Promise { let packagesList: string[] = userInstalledPipPackages.map(pkg => { return pkg.name; }); + // Filter out prose-codeaccelerator since we no longer ship it and it is not on Pypi. + packagesList = packagesList.filter(pkg => pkg !== 'prose-codeaccelerator'); let installPackagesCode = `import sys\n!{sys.executable} -m pip install --user ${packagesList.join(' ')}`; let initialContent: azdata.nb.INotebookContents = { cells: [{