Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
python: Fix detection of Poetry environments (#20669)
Piotr Osiewicza650fe0d7706
diff --git a/crates/languages/src/python.rs b/crates/languages/src/python.rsindex e22aac69b47..fcbfd45c272 100644--- a/crates/languages/src/python.rs+++ b/crates/languages/src/python.rs@@ -413,6 +413,10 @@ impl ToolchainLister for PythonToolchainProvider {);let mut config = Configuration::default();config.workspace_directories = Some(vec![worktree_root]);+ for locator in locators.iter() {+ locator.configure(&config);+ }+let reporter = pet_reporter::collect::create_reporter();pet::find::find_and_report_envs(&reporter, config, &locators, &environment, None);