Skip to content

Commit

Permalink
Handle poetry env manager from native locator (microsoft#23983)
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne authored and anthonykim1 committed Sep 13, 2024
1 parent 9e44466 commit 06ef77e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/client/pythonEnvironments/nativeAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 06ef77e

Please sign in to comment.