Skip to content

Commit 8b9df37

Browse files
wantsuijuanjuxbrettlangdon
committed
fix(wrapt): do not use wrapt 2.x yet (#14955)
<!-- Provide an overview of the change and motivation for the change --> 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. <!-- Describe your testing strategy or note what tests are included --> <!-- Note any risks associated with this change, or "None" if no risks --> <!-- Any other information that would be helpful for reviewers --> --------- Signed-off-by: Juanjo Alvarez <juanjo.alvarezmartinez@datadoghq.com> Co-authored-by: Juanjo Alvarez <juanjo.alvarezmartinez@datadoghq.com> Co-authored-by: Brett Langdon <brett.langdon@datadoghq.com> (cherry picked from commit 492135a)
1 parent 8592132 commit 8b9df37

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
@@ -8,7 +8,7 @@ legacy-cgi,>=2.0.0,python_version>='3.13.0'
88
opentelemetry-api,>=1,
99
protobuf,>=3,
1010
typing_extensions,,
11-
wrapt,>=1,
11+
wrapt,">=1,<2",
1212
opentracing,>=2.0.0,
1313
opentelemetry-exporter-otlp,>=1.0.0,
1414
tiktoken,,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dependencies = [
4040
"opentelemetry-api>=1",
4141
"protobuf>=3",
4242
"typing_extensions",
43-
"wrapt>=1",
43+
"wrapt>=1,<2",
4444
]
4545

4646
[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
@@ -8,7 +8,7 @@ legacy-cgi,>=2.0.0,python_version>='3.13.0'
88
opentelemetry-api,>=1,
99
protobuf,>=3,
1010
typing_extensions,,
11-
wrapt,>=1,
11+
wrapt,">=1,<2",
1212
opentracing,>=2.0.0,
1313
opentelemetry-exporter-otlp,>=1.0.0,
1414
tiktoken,,

0 commit comments

Comments
 (0)