Compare commits

..
6 Commits
Author SHA1 Message Date
christianmanivong 7e03ad6ab3 Merge pull request 'fix(ci): twine upload --verbose --skip-existing' (#5) from fix/twine-verbose into main
CI / test (3.12) (push) Successful in 27s
CI / test (3.13) (push) Successful in 30s
CI / test (3.11) (push) Successful in 32s
2026-10-24 06:15:20 +00:00
christianmanivong 7ccf2d067b fix(ci): twine upload --verbose --skip-existing
CI / test (3.11) (pull_request) Successful in 34s
CI / test (3.12) (pull_request) Successful in 35s
CI / test (3.13) (pull_request) Successful in 36s
PyPI answered 429 to every first upload of a new project since the
afternoon of 2026-10-23; without --verbose the log does not say why or
for how long.
2026-10-24 08:14:38 +02:00
christianmanivong f108a0e817 Merge pull request 'fix(ratchet): refuse a package directory that does not exist' (#4) from fix/ratchet-missing-package into main
CI / test (3.11) (push) Successful in 26s
CI / test (3.12) (push) Successful in 24s
CI / test (3.13) (push) Successful in 24s
2026-10-23 09:21:18 +00:00
christianmanivong eb3a296aff fix(ratchet): refuse a package directory that does not exist
CI / test (3.11) (pull_request) Successful in 36s
CI / test (3.12) (pull_request) Successful in 32s
CI / test (3.13) (pull_request) Successful in 31s
napalm-hpe-aruba-procurve ships napalm_procurve; guessed from its name, the
ratchet measured nothing and wrote an empty baseline without a word.
2026-10-23 10:28:16 +02:00
christianmanivong 6f1789f14a 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
2026-10-23 08:27:58 +00:00
christianmanivong 9390accb43 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.
2026-10-23 08:31:32 +02:00
2 changed files with 12 additions and 1 deletions

No files matched your search

+8 -1
View File
@@ -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:
@@ -198,7 +203,9 @@ jobs:
if [ -z "$TWINE_PASSWORD" ]; then echo "no PYPI_TOKEN secret in this repo"; exit 1; fi
python -m venv .venv
.venv/bin/pip install -q twine "$STANDARD"
.venv/bin/twine upload --non-interactive dist/*
# --verbose: on a refusal PyPI says why (429 on new projects, 2026-10-23/24).
# --skip-existing: a re-run after a partly successful upload does not fail.
.venv/bin/twine upload --non-interactive --verbose --skip-existing dist/*
- name: Gitea release
env:
GITEA_URL: ${{ github.server_url }}
+4
View File
@@ -13,6 +13,10 @@ The format follows [Keep a Changelog](https://keepachangelog.com/), versions fol
device-types pilot).
### Fixed
- `publish` uploads with `--verbose`, so a refusal from PyPI shows its reason, and
`--skip-existing`, so a re-run after a partly successful upload does not fail.
- The shared workflow waits 60 s per download and retries ten times, so a slow PyPI
response no longer fails a job.
- `ratchet` refuses a package directory that does not exist. Guessed from the name
(napalm-hpe-aruba-procurve ships `napalm_procurve`), it measured nothing and wrote an
empty baseline without a word.