Fix toolchain detection for worktree-local paths (#20229)

Reimplements `pet::EnvironmentApi`, trying to access the `project_env`
first
Closes #20177 

Release Notes:

- Fixed python toolchain detection when worktree local path is set
This commit is contained in:
Stanislav Alekseev 2024-11-05 15:25:18 +02:00 committed by GitHub
parent f8bd6c66f4
commit a26c0a8537
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 132 additions and 13 deletions

View file

@ -47,6 +47,7 @@ lsp.workspace = true
node_runtime.workspace = true
paths.workspace = true
pet.workspace = true
pet-fs.workspace = true
pet-core.workspace = true
pet-conda.workspace = true
pet-poetry.workspace = true