From 39d665711b9727ca7931cce31af095ebba109dae Mon Sep 17 00:00:00 2001 From: Cesare Bernardis Date: Fri, 20 Feb 2026 16:20:26 +0100 Subject: [PATCH 1/6] Update dependencies --- pyagentspec/constraints/constraints.txt | 1 + pyagentspec/setup.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pyagentspec/constraints/constraints.txt b/pyagentspec/constraints/constraints.txt index a076ab88..4033c7be 100644 --- a/pyagentspec/constraints/constraints.txt +++ b/pyagentspec/constraints/constraints.txt @@ -33,6 +33,7 @@ openai-agents==0.6.9 libcst==1.8.5 # Evaluation +anyio==4.11.0 pandas==2.3.3 oci==2.167.0 litellm==1.81.13 diff --git a/pyagentspec/setup.py b/pyagentspec/setup.py index 6126a824..b20fb893 100644 --- a/pyagentspec/setup.py +++ b/pyagentspec/setup.py @@ -70,7 +70,8 @@ def read(file_name): "pydantic>=2.10,<2.13", "pyyaml>=6,<7", "httpx>0.28.0", - "urllib3>=2.5.0", # needed to avoid a CVE present on earlier versions + "certifi>=2025.1.31", # needed to avoid CVE present in earlier versions + "urllib3>=2.5.0", # needed to avoid a CVE present in earlier versions # 4rth party dependencies ], test_suite="tests", From 431642b0c091dc6bed5ee87da9ab8a16d90b93a4 Mon Sep 17 00:00:00 2001 From: Cesare Bernardis Date: Fri, 20 Feb 2026 16:22:07 +0100 Subject: [PATCH 2/6] Update dependencies --- pyagentspec/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyagentspec/setup.py b/pyagentspec/setup.py index b20fb893..8dafcf39 100644 --- a/pyagentspec/setup.py +++ b/pyagentspec/setup.py @@ -70,9 +70,9 @@ def read(file_name): "pydantic>=2.10,<2.13", "pyyaml>=6,<7", "httpx>0.28.0", + # 4rth party dependencies "certifi>=2025.1.31", # needed to avoid CVE present in earlier versions "urllib3>=2.5.0", # needed to avoid a CVE present in earlier versions - # 4rth party dependencies ], test_suite="tests", entry_points={ From 4b03b0b836944992ec68099205d622422b257a0c Mon Sep 17 00:00:00 2001 From: Son Le Date: Tue, 24 Feb 2026 17:03:29 +0100 Subject: [PATCH 3/6] bump urllib3 and add langchain-core --- pyagentspec/constraints/constraints.txt | 2 +- pyagentspec/setup.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyagentspec/constraints/constraints.txt b/pyagentspec/constraints/constraints.txt index 4033c7be..b1c36a6f 100644 --- a/pyagentspec/constraints/constraints.txt +++ b/pyagentspec/constraints/constraints.txt @@ -2,7 +2,6 @@ jsonschema==4.23.0 pydantic==2.12.4 pyyaml==6.0.3 httpx==0.28.1 -urllib3==2.6.2 # AutoGen adapter autogen-core==0.7.4 @@ -15,6 +14,7 @@ crewai==1.6.1 # LangGraph adapter langgraph==1.0.5 langchain==1.2.0 +langchain-core==1.2.7 langchain-openai==1.1.7 langchain-ollama==1.0.1 langchain-oci==0.2.3 diff --git a/pyagentspec/setup.py b/pyagentspec/setup.py index 8dafcf39..9e170512 100644 --- a/pyagentspec/setup.py +++ b/pyagentspec/setup.py @@ -29,6 +29,7 @@ def read(file_name): # 3rd party dependencies (imported in code) "langgraph>=1.0.5", "langchain>=1.2.0", + "langchain-core>=1.2.7", "langchain-openai>=1.1.7", "langchain-ollama>=1.0.1", "anyio>=4.10.0,<4.12.0", @@ -72,7 +73,7 @@ def read(file_name): "httpx>0.28.0", # 4rth party dependencies "certifi>=2025.1.31", # needed to avoid CVE present in earlier versions - "urllib3>=2.5.0", # needed to avoid a CVE present in earlier versions + "urllib3>=2.6.3", # needed to avoid a CVE present in earlier versions ], test_suite="tests", entry_points={ From 7249e337ea477a97f04f6ce2774334748683bb99 Mon Sep 17 00:00:00 2001 From: Son Le Date: Wed, 25 Feb 2026 10:11:41 +0100 Subject: [PATCH 4/6] fix typing issue --- pyagentspec/setup.py | 3 +-- .../src/pyagentspec/adapters/langgraph/_langgraphconverter.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pyagentspec/setup.py b/pyagentspec/setup.py index 9e170512..bf29cbd4 100644 --- a/pyagentspec/setup.py +++ b/pyagentspec/setup.py @@ -127,8 +127,7 @@ def read(file_name): # 3rd party dependencies (imported in code) "agent-framework>=1.0.0b260130; python_version < '3.14'", # 4rth party dependencies - # including otel-semconv-ai to address internal agent-framework bug - "opentelemetry-semantic-conventions-ai<0.4.14", + "opentelemetry-semantic-conventions-ai<0.4.14", # 0.4.14 breaks agent-framework 1.0.0b260130 ], "evaluation": [ # 3rd party dependencies (imported in code) diff --git a/pyagentspec/src/pyagentspec/adapters/langgraph/_langgraphconverter.py b/pyagentspec/src/pyagentspec/adapters/langgraph/_langgraphconverter.py index 1603cc42..f21b0a8f 100644 --- a/pyagentspec/src/pyagentspec/adapters/langgraph/_langgraphconverter.py +++ b/pyagentspec/src/pyagentspec/adapters/langgraph/_langgraphconverter.py @@ -372,7 +372,7 @@ def _find_property(properties: List[AgentSpecProperty], name: str) -> AgentSpecP # Provide both sync and async entrypoints natively. LangGraph will use # the appropriate one based on invoke/stream vs ainvoke/astream. runnable = RunnableLambda( - func=lambda state, _exec=node_executor: _exec(state), # type: ignore + func=lambda state, _exec=node_executor: _exec(state), afunc=lambda state, _exec=node_executor: _exec.__acall__(state), name=node_id, ) From ff21efe490e319a8a4fd1640f227acd0868c13fa Mon Sep 17 00:00:00 2001 From: Son Le Date: Wed, 25 Feb 2026 10:22:17 +0100 Subject: [PATCH 5/6] remove agent-framework-core as 3rd-party dependency, it is 4th-party --- pyagentspec/constraints/constraints.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/pyagentspec/constraints/constraints.txt b/pyagentspec/constraints/constraints.txt index b1c36a6f..61416385 100644 --- a/pyagentspec/constraints/constraints.txt +++ b/pyagentspec/constraints/constraints.txt @@ -26,7 +26,6 @@ wayflowcore==26.1.0 # AgentFramework adapter agent-framework==1.0.0b260130 -agent-framework-core==1.0.0b260130 # OpenAI Agents adapter openai-agents==0.6.9 From 2382533fb9591a41550f17ed02c1553b75f4fa36 Mon Sep 17 00:00:00 2001 From: Cesare Bernardis Date: Mon, 2 Mar 2026 11:51:31 +0100 Subject: [PATCH 6/6] Add typing extensions --- pyagentspec/constraints/constraints.txt | 1 + pyagentspec/setup.py | 1 + 2 files changed, 2 insertions(+) diff --git a/pyagentspec/constraints/constraints.txt b/pyagentspec/constraints/constraints.txt index 61416385..580cd984 100644 --- a/pyagentspec/constraints/constraints.txt +++ b/pyagentspec/constraints/constraints.txt @@ -2,6 +2,7 @@ jsonschema==4.23.0 pydantic==2.12.4 pyyaml==6.0.3 httpx==0.28.1 +typing-extensions==4.15.0 # AutoGen adapter autogen-core==0.7.4 diff --git a/pyagentspec/setup.py b/pyagentspec/setup.py index bf29cbd4..3c41ef6f 100644 --- a/pyagentspec/setup.py +++ b/pyagentspec/setup.py @@ -71,6 +71,7 @@ def read(file_name): "pydantic>=2.10,<2.13", "pyyaml>=6,<7", "httpx>0.28.0", + "typing-extensions>=4.15.0", # 4rth party dependencies "certifi>=2025.1.31", # needed to avoid CVE present in earlier versions "urllib3>=2.6.3", # needed to avoid a CVE present in earlier versions