Skip to content

Commit 013f35c

Browse files
juliomenendezclaude
andcommitted
Add wrapt as explicit dependency to observability packages
observability-core and observability-extensions-langchain both directly import wrapt (ObjectProxy and wrap_function_wrapper respectively) but never declared it as a dependency. Users installing observability-core without an extension package that pulls in opentelemetry-instrumentation would hit "No module named 'wrapt'" at SDK init time. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ff3bc83 commit 013f35c

4 files changed

Lines changed: 2464 additions & 2457 deletions

File tree

libraries/microsoft-agents-a365-observability-core/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ dependencies = [
3030
"opentelemetry-exporter-otlp",
3131
"pydantic",
3232
"typing-extensions",
33+
"wrapt",
3334
"microsoft-agents-a365-runtime",
3435
]
3536

libraries/microsoft-agents-a365-observability-extensions-langchain/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ dependencies = [
3131
"opentelemetry-api",
3232
"opentelemetry-sdk",
3333
"opentelemetry-instrumentation",
34+
"wrapt",
3435
]
3536

3637
[project.urls]

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ constraint-dependencies = [
9292
"microsoft-agents-activity >= 0.4.0",
9393
"microsoft-agents-hosting-core >= 0.4.0",
9494

95+
# --- Monkey-patching / wrapping ---
96+
"wrapt >= 1.14",
97+
9598
# --- Data Validation & Utilities ---
9699
"aiohttp >= 3.8.0",
97100
"asyncio-throttle >= 1.0.0",

0 commit comments

Comments
 (0)