From e6e0e54930784d9f59eb1ebe54dfaddf512536fc Mon Sep 17 00:00:00 2001 From: Bas Alberts Date: Fri, 31 Jul 2026 14:20:01 -0400 Subject: [PATCH] Bump openai to 2.52.0 and openai-agents to 0.19.1 pyproject.toml: openai 1.107.0 -> 2.52.0, openai-agents 0.2.11 -> 0.19.1. openai 2.7.2 replaced the discriminated-union attribute cache in openai/_models.py with a WeakKeyDictionary, which is what Python 3.14 requires now that typing.Union instances carry no __dict__. Also swap griffe==1.7.3 for griffelib==2.1.0: openai-agents 0.19.1 depends on griffelib, which supplies the same `griffe` import name. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dadec5f9-3bf8-449c-84d6-db45be19bb6a --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d3850cc..7c0ac37 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,7 @@ dependencies = [ "exceptiongroup==1.3.0", "fastmcp==3.2.0", "github-copilot-sdk>=0.2.2,<0.3", - "griffe==1.7.3", + "griffelib==2.1.0", "h11==0.16.0", "httpcore==1.0.9", "httpx==0.28.1", @@ -77,8 +77,8 @@ dependencies = [ "mcp==1.28.1", "mdurl==0.1.2", "more-itertools==10.8.0", - "openai==1.107.0", - "openai-agents==0.2.11", + "openai==2.52.0", + "openai-agents==0.19.1", "openapi-core==0.19.5", "openapi-pydantic==0.5.1", "openapi-schema-validator==0.6.3",