openai OpenAI Python SDK Releases · · 3.0.0

OpenAI Python SDK v3.0.0 Migrates to HTTPX2, Introduces Breaking Changes

sdkaigaengineer
breaking feature

The OpenAI Python SDK v3.0.0 has been released, making HTTPX2 the default HTTP client and no longer automatically installing `httpx`. This constitutes a breaking change for applications that use custom HTTPX clients, transports, or configuration objects. Affected developers must migrate their code to use HTTPX2 equivalents or utilize a temporary legacy HTTPX escape hatch. A dedicated migration guide is available to assist with these necessary updates.

  • migrate to HTTPX2
Breaking changes (1)
  • api

    HTTPX2 is now the default HTTP client, and httpx is no longer installed automatically. Applications using custom HTTPX clients, transports, or configuration objects must migrate to their HTTPX2 equivalents or use the temporary, runtime-only legacy HTTPX escape hatch. See the HTTPX2 migration guide

Features (1)
  • api migrate to HTTPX2
Read the original announcement →

https://github.com/openai/openai-python/releases/tag/v3.0.0

Related releases