Remove path-absolutize dependency (#6589)

## Summary

This is now in the standard library.
This commit is contained in:
Charlie Marsh 2024-08-25 08:01:07 -04:00 committed by GitHub
parent 7fa265a11b
commit 0dc74f619c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 13 additions and 66 deletions

View file

@ -686,7 +686,7 @@ impl InterpreterInfo {
/// unless the Python executable changes, so we use the executable's last modified
/// time as a cache key.
pub(crate) fn query_cached(executable: &Path, cache: &Cache) -> Result<Self, Error> {
let absolute = uv_fs::absolutize_path(executable)?;
let absolute = std::path::absolute(executable)?;
let cache_entry = cache.entry(
CacheBucket::Interpreter,