AI Signal 142
OpenAI SDK switches default HTTP client to HTTPX2, dropping httpx
The OpenAI Python SDK now relies on HTTPX2 for all HTTP traffic, removing the automatic httpx dependency and changing TLS certificate verification to use the operating system’s trust store.
Developers who previously depended on the transitive httpx or certifi packages must now add those dependencies explicitly if their code imports them. Applications running in minimal container images or behind corporate TLS-inspecting proxies may see certificate verification fail because the SDK no longer installs certifi and uses the OS trust store instead. Restoring verification requires installing the appropriate CA certificates in the system trust store or setting SSL_CERT_FILE or SSL_CERT_DIR environment variables.
Written by elseif from the cluster below · every claim links back to a sourceThe three things worth knowing
The SDK installs HTTPX2 automatically and no longer brings in httpx or certifi as transitive dependencies.
Default TLS verification switches from the certifi bundle to the operating system’s trust store, affecting environments without system CA certificates.
Custom HTTP clients, timeouts, transports, and event hooks must now use HTTPX2 types (httpx2.Client, httpx2.Timeout, etc.) and updated signatures.
THE CLUSTER