Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: always write slash paths to RECORD file (#10164)
Signed-off-by: Frost Ming <[email protected]> <!-- Thank you for contributing to uv! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary This PR solves an issue on Windows that platform-specific paths are written to the `RECORD` file when installing, which is inconsistent with PEP 376, quoting: > Each record is composed of three elements: > >the file’s path > * a ‘/’-separated path, relative to the base location, if the file is under the base location. > * a ‘/’-separated path, relative to the base location, if the file is under the installation prefix AND if the base location is a subpath of the installation prefix. > * an absolute path, using the local platform separator ## Test Plan <!-- How was it tested? --> Test case included --------- Signed-off-by: Frost Ming <[email protected]> Co-authored-by: Charlie Marsh <[email protected]>
- Loading branch information