Skip to content

Commit bf6d012

Browse files
wtfashwinhassiebp
andauthored
fix(deps): support wrapt 2.x (closes #1561) (#1664)
fix(deps): support wrapt 2.x Relax the wrapt upper bound from <2 to <3 so langfuse installs in environments that ship wrapt 2.x (e.g. GCP Cloud Composer). The previous ceiling was kept because the transitive wrapt pin via opentelemetry-instrumentation also capped <2. That upstream bound was relaxed to <3 in opentelemetry-python-contrib (open-telemetry/ opentelemetry-python-contrib#3903, released in opentelemetry-instrumentation 0.63b0), so the langfuse-side cap is now the only blocker. langfuse uses only wrapt.wrap_function_wrapper, whose API is unchanged in 2.x; verified langfuse imports and wraps cleanly under wrapt 2.1.2. Fixes #1561 Co-authored-by: Hassieb Pakzad <68423100+hassiebp@users.noreply.github.com>
1 parent 5f6e4c1 commit bf6d012

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies = [
1111
"httpx>=0.15.4,<1.0",
1212
"pydantic>=2,<3",
1313
"backoff>=1.10.0",
14-
"wrapt>=1.14,<2",
14+
"wrapt>=1.14,<3",
1515
"packaging>=23.2,<27.0",
1616
"opentelemetry-api>=1.33.1,<2",
1717
"opentelemetry-sdk>=1.33.1,<2",

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)