mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-28 02:40:11 +00:00
Fix uv-created venv detection (#1908)
Read the key read for uv from `pyenv.cfg` from `gourgeist` instead of `uv`. I missed that we're also reading pyenv.cfg when reviewing #1852. We could check for gourgeist for backwards compatibility, but i think it's fine this way.
This commit is contained in:
parent
fe1847561c
commit
62023ead49
4 changed files with 19 additions and 21 deletions
|
|
@ -4,7 +4,7 @@ use std::path::PathBuf;
|
|||
|
||||
use thiserror::Error;
|
||||
|
||||
pub use crate::cfg::Configuration;
|
||||
pub use crate::cfg::PyVenvConfiguration;
|
||||
pub use crate::interpreter::Interpreter;
|
||||
pub use crate::python_query::{find_default_python, find_requested_python};
|
||||
pub use crate::python_version::PythonVersion;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue