uv/crates/uv-interpreter/src
Charlie Marsh ab9cc78b7a
Deduplicate symbolic links between `purelib` and `platlib` (#3002)
## Summary

This PR adds system install tests to verify the behavior described in
#2798. It turns out this behavior _also_ affects Fedora and Amazon
Linux, we just didn't have the right conditions enabled (specifically,
you need to create the virtualenv with `python -m venv` to get these
symlinks), so the test suite was expanded to capture that.

The issue itself is also fixed by way of deduplicating the
`site-packages` entries.

Closes: https://github.com/astral-sh/uv/issues/2798
2024-04-12 17:08:56 -04:00
..
cfg.rs Fix uv-created venv detection (#1908) 2024-02-23 11:11:22 -06:00
find_python.rs Avoid calling `normalize_path` with relative paths that extend beyond the current directory (#3013) 2024-04-12 14:48:03 -04:00
interpreter.rs Avoid calling `normalize_path` with relative paths that extend beyond the current directory (#3013) 2024-04-12 14:48:03 -04:00
lib.rs Replace Python bootstrapping script with Rust implementation (#2842) 2024-04-10 11:22:41 -05:00
python_environment.rs Deduplicate symbolic links between `purelib` and `platlib` (#3002) 2024-04-12 17:08:56 -04:00
virtualenv.rs Use simpler pip-like `Scheme` for install paths (#2173) 2024-03-04 15:50:13 -05:00