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 d92b968
Browse filesBrowse the repository at this point in the historyBrowse files
chore: migrate HTTP client dependency from httpx to httpx2 (#143)
The Streamable HTTP transport now builds on `httpx2` instead of `httpx`.
httpx2 keeps the same public surface for the pieces we rely on
(`AsyncClient`, `ASGITransport`, `MockTransport`, `Request`, `Response`,
`AsyncByteStream`, `Timeout`), so the transport logic is unchanged — only
the module name and the dependency move.
- pyproject.toml: `httpx[http2]>=0.27` -> `httpx2[http2]>=2.12` in both the
dev group and the `http` extra
- src/acp/http/client.py: import and type/annotation references now point at
httpx2
- src/acp/_cookies.py, src/acp/http/__init__.py: docstring references updated
- tests/http/*: updated to httpx2
- docs/web-transport.md: dependency note updated
- uv.lock: drop httpx 0.28.1 + httpcore 1.0.9, add httpx2 2.12.0 +
httpcore2 2.12.0 (+ truststore)
Note: starlette.testclient prefers httpx2 and only falls back to httpx with a
deprecation warning, so this also removes that warning path.
Verified: `uv lock --locked`, `prek run -a`, `ty check`, `deptry src`, and
`pytest --doctest-modules` (256 passed, 1 skipped).
0 commit comments