mirror of https://github.com/astral-sh/uv
<!-- 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 <!-- What's the purpose of the change? What does it do, and why? --> Currently record hashes are the hex encoded sha-256 sum. However, they're supposed to be urlsafe-base64-nopad. https://packaging.python.org/en/latest/specifications/recording-installed-packages/#the-record-file Fixes #15398 ## Test Plan <!-- How was it tested? --> Build any wheel ``` uv build --wheel ``` Unpack the wheel ``` uvx wheel unpack dist/*.whl ``` Before this change, it will fail with a hash mismatch. I could confirm with a local build that now the wheel can be unpacked with the `wheel` command. While I don't enable hash checking when syncing, presumably it would also currently fail. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||