Merge pull request 'fix(ci): longer download timeout and retries for pip and uv' (#3) from fix/pip-retries into main
CI / test (3.11) (push) Successful in 45s
CI / test (3.12) (push) Successful in 32s
CI / test (3.13) (push) Successful in 33s

This commit was merged in pull request #3.
This commit is contained in:
christianmanivong committed 2026-10-23 08:27:58 +00:00
commit 6f1789f14a
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.