# python: Re-land usage of source file path in toolchain picker \(\#31893\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/9dd18e5ee175bfd9529fede6f71f3033c26b4384)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 9dd18e5ee175bfd9529fede6f71f3033c26b4384

Requested commit: 9dd18e5ee175bfd9529fede6f71f3033c26b4384

Commit: 9dd18e5ee175bfd9529fede6f71f3033c26b4384

Tree: 0449b2ca9365b9e8e581ced53331f782de52d54c

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
python: Re-land usage of source file path in toolchain picker (#31893)

This reverts commit 1e55e88c1822402566bdec8a893ec0429d8ee5e6.

Closes #ISSUE

Release Notes:

- Python toolchain selector now uses path to the closest pyproject.toml
as a basis for picking a toolchain. All files under the same
pyproject.toml (in filesystem hierarchy) will share a single virtual
environment. It is possible to have multiple Python virtual environments
selected for disjoint parts of the same project.
```

## Parents

- [2ebe16a52f9c236ff7698defaf0a24bd451bce46](https://git.cafe/gitcafe/zed/commit/2ebe16a52f9c236ff7698defaf0a24bd451bce46?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/9dd18e5ee175bfd9529fede6f71f3033c26b4384?format=markdown)
