fix(ci): longer download timeout and retries for pip and uv
CI / test (3.11) (pull_request) Successful in 26s
CI / test (3.12) (pull_request) Successful in 25s
CI / test (3.13) (pull_request) Successful in 24s

Several jobs on the NAPALM runner failed on ReadTimeoutError from
files.pythonhosted.org on 2026-10-22, none of them on the code.
This commit is contained in:
christianmanivong committed 2026-10-23 08:31:32 +02:00
1 parent a4858e9a1f
commit 9390accb43
2 files changed
+7

No files matched your search

+5
View File
@@ -34,6 +34,11 @@ on:
required: false required: false
env: 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 }}" STANDARD: "napalm-standard @ git+https://git.netork.io/NAPALM/driver-standard.git@${{ inputs.standard-ref }}"
jobs: jobs:
+2
View File
@@ -13,6 +13,8 @@ The format follows [Keep a Changelog](https://keepachangelog.com/), versions fol
device-types pilot). device-types pilot).
### Fixed ### 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 - `security` audited the runner's own pip instead of the package: pip-audit now
checks a venv holding only the package and its dependencies. checks a venv holding only the package and its dependencies.