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
fix: replace requests with httpx across all HTTP call sites
urllib3 2.6.3 seems to have a regression causing requests-based calls to
rest.ensembl.org to time out at 30-70s while curl and httpx complete
in ~0.8s. The root cause is in urllib3's connection handling layer;
switching to httpx bypasses it entirely and restores expected latency.
Rather than patching only the Ensembl calls, all HTTP call sites are
migrated to ensure consistent performance throughout the codebase
(MaveDB API, UCSC genome download, cdot transcript lookups, UniProt).
resource_utils.py already used httpx for request_with_backoff; the
remaining requests.get calls and the streaming download in http_download
are updated to match. Test infrastructure is updated from requests-mock
to respx and exception types are updated to their httpx equivalents
(HTTPStatusError, ConnectError, TimeoutException, HTTPError).
0 commit comments