mirror of
https://github.com/astral-sh/uv
synced 2026-01-21 05:20:09 -05:00
In the publish client, we have to set the client retries to 0 as the retry middleware is incompatible with upload bodies. This however also sets `client.retry_policy()` to a zero-retry policy, so we need to construct our own policy. Fixes #12027 --------- Co-authored-by: Zanie Blue <contact@zanie.dev>