uv/crates/uv-python
Jo c57fb4dcef
Make fetching github releases faster (#11614)
I noticed that the latest two `sync-python-releases` jobs failed due to
`httpx.RemoteProtocolError: peer closed connection without sending
complete message body (incomplete chunked read)`.

For the current python-build-standalone release, each request page
(defaulting to 30 items per page) takes about 20 seconds and loads
around 32MB of data. This extensive data load might be causing the
request to frequently fail.

In this PR, I reduced number of items per page to 10 and added
`Accept-Encoding: gzip, deflate` to the request header. Now, it takes
about 6 seconds to load, and the compressed response size has been
reduced to 534KB. I hope this would addresses the request failure.
2025-02-19 08:57:56 -06:00
..
python Catch broken `mac_ver()` (#11396) 2025-02-10 22:49:16 +01:00
src Include environment variables in interpreter info caching (#11601) 2025-02-19 10:10:19 +00:00
Cargo.toml Install and remove managed Python to and from the Windows Registry (PEP 514) (#10634) 2025-01-23 14:13:41 +00:00
download-metadata.json Make fetch python downloads deterministic (#11572) 2025-02-17 08:36:38 -06:00
fetch-download-metadata.py Make fetching github releases faster (#11614) 2025-02-19 08:57:56 -06:00
template-download-metadata.py Update `riscv64` Python downloads to allow install on `riscv64gc` (#10937) 2025-01-24 09:33:29 -06:00