From 7170591f6bb1f7972abca43228229f0974928ea3 Mon Sep 17 00:00:00 2001 From: Pawan Date: Sat, 11 Jul 2026 13:57:38 +0530 Subject: [PATCH] fix(openai-sdk): cap supermemory to <3.5 so a fresh install imports supermemory 3.5+ renamed the types this SDK imports (MemoryAddResponse etc) and moved memories.add to the top-level client, so a plain pip install pulls a version where importing supermemory_openai raises ImportError. Cap to the 3.4.x line the package is tested against (uv.lock pins 3.4.0) until the SDK is migrated to the newer supermemory API. --- packages/openai-sdk-python/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/openai-sdk-python/pyproject.toml b/packages/openai-sdk-python/pyproject.toml index 557e38b0..eaae694d 100644 --- a/packages/openai-sdk-python/pyproject.toml +++ b/packages/openai-sdk-python/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ requires-python = ">=3.8.1" dependencies = [ "openai>=1.102.0", - "supermemory>=3.1.0", + "supermemory>=3.1.0,<3.5.0", "typing-extensions>=4.0.0", "requests>=2.25.0", ]