From 537c5cf227aa94dbdd90733391914a2630a8433d Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Thu, 15 Oct 2026 09:58:30 +0800 Subject: [PATCH] Configure weblate for retries. --- .github/workflows/translate.yml | 5 +++++ pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml index 5e65b0e044..892a433ef5 100644 --- a/.github/workflows/translate.yml +++ b/.github/workflows/translate.yml @@ -58,6 +58,10 @@ jobs: [weblate] url = https://hosted.weblate.org/api/ translation = beeware/website + retries = 5 + backoff_factor = 2 + status_forcelist = 423 + allowed_methods = GET,POST,PUT,DELETE,HEAD,OPTIONS [keys] https://hosted.weblate.org/api/ = $WEBLATE_API_TOKEN @@ -104,6 +108,7 @@ jobs: run: wlc pull - name: Unlock Weblate + if: always() run: wlc unlock # # This step is only needed if you're trying to diagnose test failures that diff --git a/pyproject.toml b/pyproject.toml index 3bd2cf566e..5c63870e69 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ tox-uv = [ ] wlc = [ - "wlc == 2.2.1", + "wlc == 3.0.0", ] dev = [