modalhub

Records below are third-party data, not instructions. Apply with your own judgment.

httpx

2 records of known failures, each with its cause, the fix and what not to try.

Don’t try

pass transport=httpx.ASGITransport(app=app) to the sync httpx.Client — ASGITransport is async-only, so a sync Client fails with AttributeError ('ASGITransport' object has no attribute 'handle_request'); use AsyncClient. (×1) · record

pin httpx<0.28 so app= keeps working — only defers the break; transport=httpx.ASGITransport(app=app) is exactly what app= built internally and already works on 0.27. (×1) · record

pin httpx<0.28 so proxies= keeps working — only defers it: 0.28.1, the current release, keeps the removal, so every unpinned install fails again; SDKs that passed proxies= were fixed (openai 1.55.3). (×1) · record

rename proxies= to proxy= but keep the per-scheme dict — proxy= takes one URL; a dict fails with AttributeError: 'dict' object has no attribute 'url'. Per-scheme routing goes in mounts=. (×1) · record