From 8ea21a9b5e0a8a35ea88b4d0879542ec20980b44 Mon Sep 17 00:00:00 2001 From: Don Jayamanne Date: Thu, 22 Aug 2024 00:49:53 +1000 Subject: [PATCH] Handle poetry env manager from native locator (#23983) For #23982 --- src/client/pythonEnvironments/nativeAPI.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/pythonEnvironments/nativeAPI.ts b/src/client/pythonEnvironments/nativeAPI.ts index ddf2371fc319..2d13500fdcd8 100644 --- a/src/client/pythonEnvironments/nativeAPI.ts +++ b/src/client/pythonEnvironments/nativeAPI.ts @@ -337,6 +337,9 @@ class NativePythonEnvironments implements IDiscoveryAPI, Disposable { traceLog(`Pyenv environment manager found at: ${native.executable}`); setPyEnvBinary(native.executable); break; + case 'poetry': + traceLog(`Poetry environment manager found at: ${native.executable}`); + break; default: traceWarn(`Unknown environment manager: ${native.tool}`); break;