uv/crates/uv-python
Zanie Blue 47c522f9be
Serialize Python requests for tools as canonicalized strings (#14109)
When working on support for reading global Python pins in tool
operations, I noticed that we weren't using the canonicalized Python
request in receipts — we were using the raw string provided by the user.
Since we'll need to compare these values, we should be using the
canonicalized string.

The `Tool` and `ToolReceipt` types have been updated to hold a
`PythonRequest` instead of a `String`, and `Serialize` was implemented
for `PythonRequest` so canonicalization can happen at the edge instead
of being the caller's responsibility.
2025-06-17 17:45:11 -05:00
..
python Fix Ruff linting (#14111) 2025-06-17 17:28:23 +00:00
src Serialize Python requests for tools as canonicalized strings (#14109) 2025-06-17 17:45:11 -05:00
.gitignore minify and filter embed managed pythons json on compile time (#12967) 2025-04-30 15:51:03 -04:00
Cargo.toml Add `DisplaySafeUrl` newtype to prevent leaking of credentials by default (#13560) 2025-05-27 00:05:30 +02:00
build.rs Only rebuild download JSON on change (#13261) 2025-05-02 07:49:34 -05:00
download-metadata.json Sync latest Python releases (#13996) 2025-06-12 09:47:28 -05:00
fetch-download-metadata.py Fix Ruff linting (#14111) 2025-06-17 17:28:23 +00:00