llm 0.32.1
Simon Willison’s Weblog Simon Willison ● Covered by 3 sources
LLM 0.32.1 was released after fresh installs stopped working when the OpenAI Python library dropped its usage of httpx but LLM still depended on it via a transitive dependency. The fix pins openai to versions below 3 (openai<3) until the next 0.33 release. A forthcoming 0.33 update will switch from httpx to httpx2 so installs keep working despite the OpenAI library change.
Why it matters
Release: llm 0.32.1 Fresh installs of LLM stopped working the other day because the OpenAI Python library dropped its usage of httpx, and it turned out LLM depended on that library but only installed it via a transitive openai dependency. This dot-release fixes that for the moment by pinning to openai<3, and a soon-to-drop 0.33 release will switch from httpx to httpx2. Tags: httpx, openai, llm