mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Remove duplicate log when searching for interpreters (#9092)
e.g., as seen in https://github.com/astral-sh/uv/issues/9088
This commit is contained in:
parent
709e45f34b
commit
61569d0d9d
1 changed files with 2 additions and 4 deletions
|
@ -807,9 +807,8 @@ pub fn find_python_installations<'a>(
|
|||
}
|
||||
})),
|
||||
PythonRequest::Directory(path) => Box::new(std::iter::once({
|
||||
debug!("Checking for Python interpreter in {request}");
|
||||
if preference.allows(PythonSource::ProvidedPath) {
|
||||
debug!("Checking for Python interpreter at {request}");
|
||||
debug!("Checking for Python interpreter in {request}");
|
||||
match python_installation_from_directory(path, cache) {
|
||||
Ok(installation) => Ok(FindPythonResult::Ok(installation)),
|
||||
Err(InterpreterError::NotFound(_)) => {
|
||||
|
@ -834,9 +833,8 @@ pub fn find_python_installations<'a>(
|
|||
}
|
||||
})),
|
||||
PythonRequest::ExecutableName(name) => {
|
||||
debug!("Searching for Python interpreter with {request}");
|
||||
if preference.allows(PythonSource::SearchPath) {
|
||||
debug!("Checking for Python interpreter at {request}");
|
||||
debug!("Searching for Python interpreter with {request}");
|
||||
Box::new(
|
||||
python_interpreters_with_executable_name(name, cache)
|
||||
.filter(move |result| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue