From 9390accb43ff5b4d46f41b60cc0c20a164000f5d Mon Sep 17 00:00:00 2001 From: Christian Manivong Date: Fri, 23 Oct 2026 08:31:18 +0200 Subject: [PATCH] fix(ci): longer download timeout and retries for pip and uv Several jobs on the NAPALM runner failed on ReadTimeoutError from files.pythonhosted.org on 2026-10-22, none of them on the code. --- .gitea/workflows/driver.yml | 5 +++++ CHANGELOG.md | 2 ++ 2 files changed, 7 insertions(+) diff --git a/.gitea/workflows/driver.yml b/.gitea/workflows/driver.yml index 470908d..add8c65 100644 --- a/.gitea/workflows/driver.yml +++ b/.gitea/workflows/driver.yml @@ -34,6 +34,11 @@ on: required: false env: + # The runner's downloads from PyPI time out now and then (2026-10-22 evening: + # ReadTimeoutError on files.pythonhosted.org in several jobs). Wait longer and retry. + PIP_DEFAULT_TIMEOUT: "60" + PIP_RETRIES: "10" + UV_HTTP_TIMEOUT: "60" STANDARD: "napalm-standard @ git+https://git.netork.io/NAPALM/driver-standard.git@${{ inputs.standard-ref }}" jobs: diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d80a08..dc19dd2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ The format follows [Keep a Changelog](https://keepachangelog.com/), versions fol device-types pilot). ### Fixed +- The shared workflow waits 60 s per download and retries ten times, so a slow PyPI + response no longer fails a job. - `security` audited the runner's own pip instead of the package: pip-audit now checks a venv holding only the package and its dependencies.