From dd76d4ffeb5279ae4d808435bbe4171b669e0ca4 Mon Sep 17 00:00:00 2001 From: Anthony Kim <62267334+anthonykim1@users.noreply.github.com> Date: Tue, 24 Sep 2024 14:05:09 -0400 Subject: [PATCH] Change log level on pixi interpreter discovery to reduce confusion (#24164) Reference: https://github.com/microsoft/vscode-python/issues/23773 and https://github.com/microsoft/vscode-python/issues/23773#issuecomment-2364779903 It seems that pixi warnings may be confusing unnecessary confusion among folks who may not even intend to use pixi environment. Changing log level for clarity and further help diagnosing problems that may be unrelated to pixi. --- .../pythonEnvironments/common/environmentManagers/pixi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/pythonEnvironments/common/environmentManagers/pixi.ts b/src/client/pythonEnvironments/common/environmentManagers/pixi.ts index d7baa4b53f6e..32db66932385 100644 --- a/src/client/pythonEnvironments/common/environmentManagers/pixi.ts +++ b/src/client/pythonEnvironments/common/environmentManagers/pixi.ts @@ -273,7 +273,7 @@ export async function getPixiEnvironmentFromInterpreter( // Find the pixi executable for the project pixi = pixi || (await Pixi.getPixi()); if (!pixi) { - traceWarn(`could not find a pixi interpreter for the interpreter at ${interpreterPath}`); + traceVerbose(`could not find a pixi interpreter for the interpreter at ${interpreterPath}`); return undefined; }