From 4a02a06e08de00893fc08497be5aa14655e48118 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Wed, 12 Aug 2026 05:42:02 -0400 Subject: [PATCH] fix CI by pinning the openai library to v2.48.0 It looks like additional work would be needed to support openai 3.x, (which should be done at some point). 3.x may be importing httpx, which is not available. --- changelog.md | 8 ++++++++ pyproject.toml | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 241f9d0e..8bd0433d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,11 @@ +Upcoming (TBD) +============== + +Internal +--------- +* Fix CI by pinning the `openai` library to v2.48.0. + + 2.13.1 (2026/08/11) ============== diff --git a/pyproject.toml b/pyproject.toml index aae8e217..dafcb76e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,6 +67,7 @@ llm = [ "llm ~= 0.31.1", "setuptools == 83.*", # Required by llm commands to install models "pip ~= 26.1.2", + "openai ~= 2.48.0", # openai v3.0.0 broke CI and would need work to support ] dataframe = [ "polars ~= 1.42.1", @@ -100,7 +101,7 @@ include = ["mycli*"] [tool.uv] exclude-newer = '1 week' -exclude-newer-package = { cli_helpers = false, openai = false, cryptography = false } +exclude-newer-package = { cli_helpers = false, cryptography = false } [tool.ruff] target-version = 'py310'