@@ -16,9 +16,7 @@ export function resetUvInstallationCache(): void {
1616}
1717
1818export async function isUvInstalled ( log ?: LogOutputChannel ) : Promise < boolean > {
19- console . log ( 'into isUvInstalled function' ) ;
2019 if ( available . completed ) {
21- console . log ( 'UV installation status already determined' ) ;
2220 return available . promise ;
2321 }
2422 log ?. info ( `Running: uv --version` ) ;
@@ -46,9 +44,6 @@ export async function shouldUseUv(log?: LogOutputChannel, envPath?: string): Pro
4644 if ( envPath ) {
4745 // always use uv if the given environment is stored as a uv env
4846 const uvEnvs = await getUvEnvironments ( ) ;
49- console . log ( `UV Environments: ${ uvEnvs . join ( ', ' ) } ` ) ;
50- console . log ( `Checking if envPath ${ envPath } is in UV environments` ) ;
51- console . log ( `isUVinstalled function: ${ isUvInstalled ( log ) } ` ) ;
5247 if ( uvEnvs . includes ( envPath ) ) {
5348 return await isUvInstalled ( log ) ;
5449 }
@@ -58,12 +53,7 @@ export async function shouldUseUv(log?: LogOutputChannel, envPath?: string): Pro
5853 const config = getConfiguration ( 'python-envs' ) ;
5954 const alwaysUseUv = config . get < boolean > ( 'alwaysUseUv' , true ) ;
6055
61- console . log ( `alwaysUseUv setting is ${ alwaysUseUv } ` ) ;
62- console . log ( config . inspect < boolean > ( 'alwaysUseUv' ) ) ;
63- console . log ( config . inspect < boolean > ( 'alwaysUseUv' ) ?. globalValue ) ;
64-
6556 if ( alwaysUseUv ) {
66- console . log ( `alwaysUseUv is true, checking if UV is installed` ) ;
6757 return await isUvInstalled ( log ) ;
6858 }
6959 return false ;
0 commit comments