aa629c4a54
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>