44import { inject , injectable , named } from 'inversify' ;
55import { CancellationToken , Uri , workspace } from 'vscode' ;
66import { PythonEnvironment } from '../../platform/pythonEnvironments/info' ;
7- import { IDeepnoteToolkitInstaller , DEEPNOTE_TOOLKIT_WHEEL_URL , DEEPNOTE_TOOLKIT_VERSION } from './types' ;
7+ import { IDeepnoteToolkitInstaller , DEEPNOTE_TOOLKIT_VERSION } from './types' ;
88import { IProcessServiceFactory } from '../../platform/common/process/types.node' ;
99import { logger } from '../../platform/logging' ;
1010import { IOutputChannel , IExtensionContext } from '../../platform/common/types' ;
@@ -189,7 +189,7 @@ export class DeepnoteToolkitInstaller implements IDeepnoteToolkitInstaller {
189189 Cancellation . throwIfCanceled ( token ) ;
190190
191191 // Install deepnote-toolkit and ipykernel in venv
192- logger . info ( `Installing deepnote-toolkit and ipykernel in venv from ${ DEEPNOTE_TOOLKIT_WHEEL_URL } ` ) ;
192+ logger . info ( `Installing deepnote-toolkit ( ${ DEEPNOTE_TOOLKIT_VERSION } ) and ipykernel in venv from PyPI ` ) ;
193193 this . outputChannel . appendLine ( 'Installing deepnote-toolkit and ipykernel...' ) ;
194194
195195 const installResult = await venvProcessService . exec (
@@ -199,7 +199,7 @@ export class DeepnoteToolkitInstaller implements IDeepnoteToolkitInstaller {
199199 'pip' ,
200200 'install' ,
201201 '--upgrade' ,
202- `deepnote-toolkit[server] @ ${ DEEPNOTE_TOOLKIT_WHEEL_URL } ` ,
202+ `deepnote-toolkit[server]== ${ DEEPNOTE_TOOLKIT_VERSION } ` ,
203203 'ipykernel'
204204 ] ,
205205 { throwOnStdErr : false }
@@ -260,7 +260,7 @@ export class DeepnoteToolkitInstaller implements IDeepnoteToolkitInstaller {
260260 throw new DeepnoteToolkitInstallError (
261261 venvInterpreter . uri . fsPath ,
262262 venvPath . fsPath ,
263- DEEPNOTE_TOOLKIT_WHEEL_URL ,
263+ DEEPNOTE_TOOLKIT_VERSION ,
264264 installResult . stdout || '' ,
265265 installResult . stderr || 'Package installation completed but verification failed'
266266 ) ;
@@ -278,7 +278,7 @@ export class DeepnoteToolkitInstaller implements IDeepnoteToolkitInstaller {
278278 throw new DeepnoteToolkitInstallError (
279279 baseInterpreter . uri . fsPath ,
280280 venvPath . fsPath ,
281- DEEPNOTE_TOOLKIT_WHEEL_URL ,
281+ DEEPNOTE_TOOLKIT_VERSION ,
282282 '' ,
283283 ex instanceof Error ? ex . message : String ( ex ) ,
284284 ex instanceof Error ? ex : undefined
0 commit comments