uv/crates/uv-virtualenv/src
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
..
activator Update activate_this.py to use runpy instead of exec in the docstring (#3442) 2024-05-13 01:21:24 +00:00
_virtualenv.py Rename gourgeist to uv-virtualenv (#2118) 2024-03-01 14:02:40 -05:00
lib.rs Rename Error::IO to Error::Io (#5174) 2024-07-18 04:13:45 +00:00
virtualenv.rs Avoid canonicalizing executables on Windows (#5446) 2024-07-26 08:57:33 -04:00