Remove extra details from interpreter query traces (#3803)

Cherry-picked from
8f135c26f4
This commit is contained in:
Zanie Blue 2024-05-23 19:18:05 -04:00 committed by GitHub
parent a9d9a6c13f
commit 73b6a80f23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 6 deletions

View file

@ -651,7 +651,7 @@ pub fn find_default_interpreter(cache: &Cache) -> Result<InterpreterResult, Erro
/// the first available version. /// the first available version.
/// ///
/// See [`find_interpreter`] for more details on interpreter discovery. /// See [`find_interpreter`] for more details on interpreter discovery.
#[instrument(skip_all, fields(?request))] #[instrument(skip_all, fields(request))]
pub fn find_best_interpreter( pub fn find_best_interpreter(
request: &InterpreterRequest, request: &InterpreterRequest,
system: SystemPython, system: SystemPython,

View file

@ -639,11 +639,6 @@ impl InterpreterInfo {
executable.display() executable.display()
); );
let info = Self::query(executable, cache)?; 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 // 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. // python executable at another path, we're not allowed to cache the interpreter info.