Skip to content

Consider migrating from httpx to httpx2 #3375

@gaborbernat

Description

@gaborbernat

httpx has become effectively unmaintained — no releases since 2024, issues and discussions are being closed without resolution. The ecosystem is moving to httpx2, the successor maintained by Pydantic Services Inc. with the original author (Tom Christie). Starlette already migrated (#3291, merged May 2026), with the PR author noting:

"httpx has become somehow unmaintained (closing issues, discussions, and no release since 2024), and [httpx2] is the least annoying path forward for every consumer of that package."

The migration is straightforward — httpx2 is API-compatible and a drop-in for common HTTP client usage. For the openai-python SDK specifically, the main impact would be swapping the httpx dependency and updating any internal imports.

Tracking this so the SDK doesn't get stuck on an unmaintained transport layer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions