Skip to content

Commit

Permalink
Remove extra details from interpreter query traces (#3803)
Browse files Browse the repository at this point in the history
Cherry-picked from
8f135c2
  • Loading branch information
zanieb committed May 23, 2024
1 parent a9d9a6c commit 73b6a80
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion crates/uv-interpreter/src/discovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 0 additions & 5 deletions crates/uv-interpreter/src/interpreter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 73b6a80

Please sign in to comment.