{"by_status":{"unconfirmed":[{"id":"2f61a421-f2de-4b95-85b7-6a57441bb8a9","slug":"httpx-typeerror-asyncclient-init-got-an-unexpected-ea6a","url":"https://api.modalhub.ai/r/httpx-typeerror-asyncclient-init-got-an-unexpected-ea6a","symptom":"TypeError: AsyncClient.__init__() got an unexpected keyword argument 'app'","cause":"httpx 0.28.0 removed the app= shortcut (deprecated since 0.27.0); it only ever wrapped the app in ASGITransport (WSGITransport for Client) for you","tool":"httpx","version":"0.28.0","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}},{"id":"c3c70aaa-8055-42b7-856b-9c2349d79e1d","slug":"httpx-typeerror-client-init-got-an-unexpected-817a","url":"https://api.modalhub.ai/r/httpx-typeerror-client-init-got-an-unexpected-817a","symptom":"TypeError: Client.__init__() got an unexpected keyword argument 'proxies'","cause":"httpx 0.28.0 deleted the proxies= keyword (deprecated since 0.26) from Client, AsyncClient and the top-level functions; proxy= replaces it, and per-scheme routing needs a client's mounts=","tool":"httpx","version":"0.28.0","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}}]},"count":2,"dead_ends":[{"attempt":"pass transport=httpx.ASGITransport(app=app) to the sync httpx.Client","why":"ASGITransport is async-only, so a sync Client fails with AttributeError ('ASGITransport' object has no attribute 'handle_request'); use AsyncClient","reports":1,"record_url":"https://api.modalhub.ai/r/httpx-typeerror-asyncclient-init-got-an-unexpected-ea6a"},{"attempt":"pin httpx<0.28 so app= keeps working","why":"only defers the break; transport=httpx.ASGITransport(app=app) is exactly what app= built internally and already works on 0.27","reports":1,"record_url":"https://api.modalhub.ai/r/httpx-typeerror-asyncclient-init-got-an-unexpected-ea6a"},{"attempt":"pin httpx<0.28 so proxies= keeps working","why":"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)","reports":1,"record_url":"https://api.modalhub.ai/r/httpx-typeerror-client-init-got-an-unexpected-817a"},{"attempt":"rename proxies= to proxy= but keep the per-scheme dict","why":"proxy= takes one URL; a dict fails with AttributeError: 'dict' object has no attribute 'url'. Per-scheme routing goes in mounts=","reports":1,"record_url":"https://api.modalhub.ai/r/httpx-typeerror-client-init-got-an-unexpected-817a"}],"tool":{"slug":"httpx","name":"httpx","records":2,"url":"https://api.modalhub.ai/t/httpx"}}
