uv/crates/uv-python
Charlie Marsh 8b8f34ac21
Avoid canonicalizing executables on Windows (#5446)
## Summary

If you have an executable path on a network share path (like
`\\some-host\some-share\...\python.exe`), canonicalizing it adds the
`\\?` prefix, but dunce cannot safely strip it.

This PR changes the Windows logic to avoid canonicalizing altogether. We
don't really expect symlinks on Windows, so it seems unimportant to
resolve them.

Closes: https://github.com/astral-sh/uv/issues/5440.
2024-07-26 08:57:33 -04:00
..
python Change "toolchain" to "python" (#4735) 2024-07-03 07:44:29 -05:00
src Avoid canonicalizing executables on Windows (#5446) 2024-07-26 08:57:33 -04:00
Cargo.toml Search for all python3.x in PATH (#5148) 2024-07-18 17:00:01 +02:00
download-metadata.json Update bundled Pythons to include stripped variants (#5469) 2024-07-26 00:34:45 +00:00
fetch-download-metadata.py Use stripped variants by default in Python install (#5451) 2024-07-25 17:29:31 +00:00
template-download-metadata.py Add PyPy finder (#5337) 2024-07-23 14:58:04 -05:00