You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3a7a1cd
Browse filesBrowse the repository at this point in the historyBrowse files
ci(util): fetch with requests and poll memory with psutil in the scripts (#1894)
- util/ci_timing.py: fetch through a requests session; an HTTPError's status
decides the retry and the 404 note, the Link header is parsed as requests
parses it, and the token staying off a cross-host redirect is tested against
loopback servers. ci-timing.yml installs requests and lxml.
- util/update_python_versions.py: fetch() uses requests and parse_images()
reads the runner-images table with markdown-it-py, so an escaped pipe stays
in its cell; both import lazily, so `publish` still runs on a bare python3.
The detect job installs both.
- examples/generators/pcapng.py: download with requests, keeping the retry,
Retry-After and offline fallback; a timeout mid-body is still retried.
- util/vendor_test_gate.py: sample a run's process group with psutil, and
with ps where psutil is not installed.
- util/ci_timing.py parse_junit() and util/pyshark_encap_map.py's PDML read:
lxml with a hardened parser instead of ElementTree, no fallback; the tests
that parse are gated on HAS_LXML.
- pyproject.toml: the test extra carries psutil (CPython only), markdown-it-py
and lxml (not on GraalPy).
- Pipfile [dev-packages]: the same, with the test extra's markers, pinned by a test.
Closes#1894
0 commit comments