diff --git a/crates/uv-fs/src/path.rs b/crates/uv-fs/src/path.rs index db651278e84f..54941df43540 100644 --- a/crates/uv-fs/src/path.rs +++ b/crates/uv-fs/src/path.rs @@ -250,24 +250,6 @@ pub fn canonicalize_executable(path: impl AsRef) -> std::io::Result Result, std::io::Error> { - let Ok(link) = executable.read_link() else { - return Ok(None); - }; - if link.is_absolute() { - Ok(Some(link)) - } else { - executable - .parent() - .map(|parent| parent.join(link)) - .as_deref() - .map(normalize_absolute_path) - .transpose() - } -} - /// Compute a path describing `path` relative to `base`. /// /// `lib/python/site-packages/foo/__init__.py` and `lib/python/site-packages` -> `foo/__init__.py` diff --git a/crates/uv-python/src/interpreter.rs b/crates/uv-python/src/interpreter.rs index c19031084d15..0f7f5a7616b6 100644 --- a/crates/uv-python/src/interpreter.rs +++ b/crates/uv-python/src/interpreter.rs @@ -438,7 +438,7 @@ impl Interpreter { /// `python-build-standalone`; if it returns `false`, the interpreter is definitely _not_ from /// `python-build-standalone`. /// - /// See: https://github.com/indygreg/python-build-standalone/issues/382 + /// See: pub fn is_standalone(&self) -> bool { self.sysconfig_prefix() .is_some_and(|prefix| prefix == Path::new("/install"))