mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-01 14:31:12 +00:00
Remove extra details from interpreter query traces (#3803)
Cherry-picked from
8f135c26f4
This commit is contained in:
parent
a9d9a6c13f
commit
73b6a80f23
2 changed files with 1 additions and 6 deletions
|
@ -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,
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue