Remove extra details from interpreter query traces (#3803)
Cherry-picked from https://github.com/astral-sh/uv/pull/3797/commits/8f135c26f46c6fa84ac534a775c5212a0981690a
This commit is contained in:
@@ -651,7 +651,7 @@ pub fn find_default_interpreter(cache: &Cache) -> Result<InterpreterResult, Erro
|
||||
/// the first available version.
|
||||
///
|
||||
/// See [`find_interpreter`] for more details on interpreter discovery.
|
||||
#[instrument(skip_all, fields(?request))]
|
||||
#[instrument(skip_all, fields(request))]
|
||||
pub fn find_best_interpreter(
|
||||
request: &InterpreterRequest,
|
||||
system: SystemPython,
|
||||
|
||||
@@ -639,11 +639,6 @@ impl InterpreterInfo {
|
||||
executable.display()
|
||||
);
|
||||
let info = Self::query(executable, cache)?;
|
||||
trace!(
|
||||
"Found Python {} at {}",
|
||||
info.markers.python_full_version(),
|
||||
executable.display()
|
||||
);
|
||||
|
||||
// If `executable` is a pyenv shim, a bash script that redirects to the activated
|
||||
// python executable at another path, we're not allowed to cache the interpreter info.
|
||||
|
||||
Reference in New Issue
Block a user