Skip to content

Commit dd4232e

Browse files
brettlangdonwantsuijuanjux
authored
fix(wrapt): do not use wrapt 2.x yet (#14955) [backport 3.15] (#14965)
## Description We have a bug report that there are recursion errors with wrapt 2.x on our psycopg integration. I'd still like to study if we can recreate the error in a test but don't want this investigation to block this known issue. ## Testing <!-- Describe your testing strategy or note what tests are included --> ## Risks <!-- Note any risks associated with this change, or "None" if no risks --> ## Additional Notes <!-- Any other information that would be helpful for reviewers --> Signed-off-by: Juanjo Alvarez <juanjo.alvarezmartinez@datadoghq.com> Co-authored-by: wantsui <wan.tsui@datadoghq.com> Co-authored-by: Juanjo Alvarez <juanjo.alvarezmartinez@datadoghq.com>
1 parent c962c2f commit dd4232e

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

lib-injection/sources/requirements.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ envier,~=0.6.1,
77
legacy-cgi,>=2.0.0,python_version>='3.13.0'
88
opentelemetry-api,>=1,
99
protobuf,>=3,
10-
wrapt,>=1,
10+
wrapt,">=1,<2",
1111
opentracing,>=2.0.0,
1212
opentelemetry-exporter-otlp,>=1.0.0,
1313
tiktoken,,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ dependencies = [
3939
"legacy-cgi>=2.0.0; python_version>='3.13.0'",
4040
"opentelemetry-api>=1",
4141
"protobuf>=3",
42-
"wrapt>=1",
42+
"wrapt>=1,<2",
4343
]
4444

4545
[project.optional-dependencies]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
fixes:
3+
- |
4+
Pin to ``wrapt<2`` until we can ensure full compatibility with the breaking changes.

requirements.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ envier,~=0.6.1,
77
legacy-cgi,>=2.0.0,python_version>='3.13.0'
88
opentelemetry-api,>=1,
99
protobuf,>=3,
10-
wrapt,>=1,
10+
wrapt,">=1,<2",
1111
opentracing,>=2.0.0,
1212
opentelemetry-exporter-otlp,>=1.0.0,
1313
tiktoken,,

0 commit comments

Comments
 (0)