httpx2
A next-generation Python HTTP client library led by the Pydantic team, representing a refactored upgrade of httpx. It offers native async/await support along with improvements to connection pool management and type safety.
Timeline (last 90 days)
LLM version 0.33 switches the HTTP client to httpx2.
The introduction of httpx2 replaced the original network request layer, with the official reason given being better async support and connection management.
The underlying HTTP client of the Anthropic Python SDK 1.0 switched from httpx to httpx2.
During migration, it is recommended to update the package to version 1.0 via `pip install --upgrade anthropic`, and to search for all `import httpx` call sites and change them to use the corresponding httpx2 interfaces.
The default timeout behavior and retry policy of httpx2 may differ from the older version of httpx, so after upgrading you should explicitly check whether the timeout parameter set when constructing the client still takes effect.
Integrations using datasette.client should verify compatibility after the migration to httpx2.
httpx2 is led by the Pydantic team and is a refactored and upgraded version of the httpx library.
Datasette 1.0a40 migrated the underlying HTTP client to httpx2.
All Facts (8)
LLM version 0.33 switches the HTTP client to httpx2.
50%UnverifiedThe introduction of httpx2 replaced the original network request layer, with the official reason given being better async support and connection management.
50%UnverifiedThe underlying HTTP client of the Anthropic Python SDK 1.0 switched from httpx to httpx2.
50%UnverifiedDuring migration, it is recommended to update the package to version 1.0 via `pip install --upgrade anthropic`, and to search for all `import httpx` call sites and change them to use the corresponding httpx2 interfaces.
50%UnverifiedThe default timeout behavior and retry policy of httpx2 may differ from the older version of httpx, so after upgrading you should explicitly check whether the timeout parameter set when constructing the client still takes effect.
50%UnverifiedIntegrations using datasette.client should verify compatibility after the migration to httpx2.
50%Unverifiedhttpx2 is led by the Pydantic team and is a refactored and upgraded version of the httpx library.
50%UnverifiedDatasette 1.0a40 migrated the underlying HTTP client to httpx2.
50%