Skip to content

Commit 54e6d48

Browse files
authored
Merge branch 'main' into upgrade-latest-langchain-version
2 parents 42a902a + 819c74c commit 54e6d48

34 files changed

+635
-238
lines changed

.gitlab/services.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
DD_REMOTE_CONFIGURATION_REFRESH_INTERVAL: 5s
1313
DD_DOGSTATSD_NON_LOCAL_TRAFFIC: true
1414
testagent:
15-
name: registry.ddbuild.io/images/mirror/dd-apm-test-agent/ddapm-test-agent:v1.28.0
15+
name: registry.ddbuild.io/images/mirror/dd-apm-test-agent/ddapm-test-agent:v1.29.1
1616
alias: testagent
1717
variables:
1818
LOG_LEVEL: ERROR

.riot/requirements/1911f94.txt

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.10
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1911f94.in
6+
#
7+
annotated-types==0.7.0
8+
anyio==4.9.0
9+
attrs==25.3.0
10+
certifi==2025.7.14
11+
charset-normalizer==3.4.2
12+
coverage[toml]==7.9.2
13+
distro==1.9.0
14+
exceptiongroup==1.3.0
15+
h11==0.16.0
16+
httpcore==1.0.9
17+
httpx==0.28.1
18+
hypothesis==6.45.0
19+
idna==3.10
20+
iniconfig==2.1.0
21+
jiter==0.10.0
22+
mock==5.2.0
23+
multidict==6.6.3
24+
openai==1.66.0
25+
opentracing==2.4.0
26+
packaging==25.0
27+
pillow==11.3.0
28+
pluggy==1.6.0
29+
propcache==0.3.2
30+
pydantic==2.11.7
31+
pydantic-core==2.33.2
32+
pygments==2.19.2
33+
pytest==8.4.1
34+
pytest-asyncio==0.21.1
35+
pytest-cov==6.2.1
36+
pytest-mock==3.14.1
37+
pytest-randomly==3.16.0
38+
pyyaml==6.0.2
39+
regex==2024.11.6
40+
requests==2.32.4
41+
sniffio==1.3.1
42+
sortedcontainers==2.4.0
43+
tiktoken==0.9.0
44+
tomli==2.2.1
45+
tqdm==4.67.1
46+
typing-extensions==4.14.1
47+
typing-inspection==0.4.1
48+
urllib3==1.26.20
49+
vcrpy==7.0.0
50+
wrapt==1.17.2
51+
yarl==1.20.1

.riot/requirements/1a0657d.txt

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.13
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1a0657d.in
6+
#
7+
annotated-types==0.7.0
8+
anyio==4.9.0
9+
attrs==25.3.0
10+
certifi==2025.7.14
11+
charset-normalizer==3.4.2
12+
coverage[toml]==7.9.2
13+
distro==1.9.0
14+
h11==0.16.0
15+
httpcore==1.0.9
16+
httpx==0.28.1
17+
hypothesis==6.45.0
18+
idna==3.10
19+
iniconfig==2.1.0
20+
jiter==0.10.0
21+
mock==5.2.0
22+
multidict==6.6.3
23+
openai==1.66.0
24+
opentracing==2.4.0
25+
packaging==25.0
26+
pillow==11.3.0
27+
pluggy==1.6.0
28+
propcache==0.3.2
29+
pydantic==2.11.7
30+
pydantic-core==2.33.2
31+
pygments==2.19.2
32+
pytest==8.4.1
33+
pytest-asyncio==0.21.1
34+
pytest-cov==6.2.1
35+
pytest-mock==3.14.1
36+
pytest-randomly==3.16.0
37+
pyyaml==6.0.2
38+
regex==2024.11.6
39+
requests==2.32.4
40+
sniffio==1.3.1
41+
sortedcontainers==2.4.0
42+
tiktoken==0.9.0
43+
tqdm==4.67.1
44+
typing-extensions==4.14.1
45+
typing-inspection==0.4.1
46+
urllib3==1.26.20
47+
vcrpy==7.0.0
48+
wrapt==1.17.2
49+
yarl==1.20.1

.riot/requirements/85ff44d.txt

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.12
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/85ff44d.in
6+
#
7+
annotated-types==0.7.0
8+
anyio==4.9.0
9+
attrs==25.3.0
10+
certifi==2025.7.14
11+
charset-normalizer==3.4.2
12+
coverage[toml]==7.9.2
13+
distro==1.9.0
14+
h11==0.16.0
15+
httpcore==1.0.9
16+
httpx==0.28.1
17+
hypothesis==6.45.0
18+
idna==3.10
19+
iniconfig==2.1.0
20+
jiter==0.10.0
21+
mock==5.2.0
22+
multidict==6.6.3
23+
openai==1.66.0
24+
opentracing==2.4.0
25+
packaging==25.0
26+
pillow==11.3.0
27+
pluggy==1.6.0
28+
propcache==0.3.2
29+
pydantic==2.11.7
30+
pydantic-core==2.33.2
31+
pygments==2.19.2
32+
pytest==8.4.1
33+
pytest-asyncio==0.21.1
34+
pytest-cov==6.2.1
35+
pytest-mock==3.14.1
36+
pytest-randomly==3.16.0
37+
pyyaml==6.0.2
38+
regex==2024.11.6
39+
requests==2.32.4
40+
sniffio==1.3.1
41+
sortedcontainers==2.4.0
42+
tiktoken==0.9.0
43+
tqdm==4.67.1
44+
typing-extensions==4.14.1
45+
typing-inspection==0.4.1
46+
urllib3==1.26.20
47+
vcrpy==7.0.0
48+
wrapt==1.17.2
49+
yarl==1.20.1

.riot/requirements/b68c552.txt

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.8
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/b68c552.in
6+
#
7+
annotated-types==0.7.0
8+
anyio==4.5.2
9+
attrs==25.3.0
10+
certifi==2025.7.14
11+
charset-normalizer==3.4.2
12+
coverage[toml]==7.6.1
13+
distro==1.9.0
14+
exceptiongroup==1.3.0
15+
h11==0.16.0
16+
httpcore==1.0.9
17+
httpx==0.28.1
18+
hypothesis==6.45.0
19+
idna==3.10
20+
importlib-metadata==8.5.0
21+
iniconfig==2.1.0
22+
jiter==0.9.1
23+
mock==5.2.0
24+
multidict==6.1.0
25+
openai==1.66.0
26+
opentracing==2.4.0
27+
packaging==25.0
28+
pillow==10.4.0
29+
pluggy==1.5.0
30+
propcache==0.2.0
31+
pydantic==2.10.6
32+
pydantic-core==2.27.2
33+
pytest==8.3.5
34+
pytest-asyncio==0.21.1
35+
pytest-cov==5.0.0
36+
pytest-mock==3.14.1
37+
pytest-randomly==3.15.0
38+
pyyaml==6.0.2
39+
regex==2024.11.6
40+
requests==2.32.4
41+
sniffio==1.3.1
42+
sortedcontainers==2.4.0
43+
tiktoken==0.7.0
44+
tomli==2.2.1
45+
tqdm==4.67.1
46+
typing-extensions==4.13.2
47+
urllib3==1.26.20
48+
vcrpy==6.0.2
49+
wrapt==1.17.2
50+
yarl==1.15.2
51+
zipp==3.20.2

.riot/requirements/c5399d2.txt

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.11
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/c5399d2.in
6+
#
7+
annotated-types==0.7.0
8+
anyio==4.9.0
9+
attrs==25.3.0
10+
certifi==2025.7.14
11+
charset-normalizer==3.4.2
12+
coverage[toml]==7.9.2
13+
distro==1.9.0
14+
h11==0.16.0
15+
httpcore==1.0.9
16+
httpx==0.28.1
17+
hypothesis==6.45.0
18+
idna==3.10
19+
iniconfig==2.1.0
20+
jiter==0.10.0
21+
mock==5.2.0
22+
multidict==6.6.3
23+
openai==1.66.0
24+
opentracing==2.4.0
25+
packaging==25.0
26+
pillow==11.3.0
27+
pluggy==1.6.0
28+
propcache==0.3.2
29+
pydantic==2.11.7
30+
pydantic-core==2.33.2
31+
pygments==2.19.2
32+
pytest==8.4.1
33+
pytest-asyncio==0.21.1
34+
pytest-cov==6.2.1
35+
pytest-mock==3.14.1
36+
pytest-randomly==3.16.0
37+
pyyaml==6.0.2
38+
regex==2024.11.6
39+
requests==2.32.4
40+
sniffio==1.3.1
41+
sortedcontainers==2.4.0
42+
tiktoken==0.9.0
43+
tqdm==4.67.1
44+
typing-extensions==4.14.1
45+
typing-inspection==0.4.1
46+
urllib3==1.26.20
47+
vcrpy==7.0.0
48+
wrapt==1.17.2
49+
yarl==1.20.1

.riot/requirements/e9c67e1.txt

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.9
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/e9c67e1.in
6+
#
7+
annotated-types==0.7.0
8+
anyio==4.9.0
9+
attrs==25.3.0
10+
certifi==2025.7.14
11+
charset-normalizer==3.4.2
12+
coverage[toml]==7.9.2
13+
distro==1.9.0
14+
exceptiongroup==1.3.0
15+
h11==0.16.0
16+
httpcore==1.0.9
17+
httpx==0.28.1
18+
hypothesis==6.45.0
19+
idna==3.10
20+
importlib-metadata==8.7.0
21+
iniconfig==2.1.0
22+
jiter==0.10.0
23+
mock==5.2.0
24+
multidict==6.6.3
25+
openai==1.66.0
26+
opentracing==2.4.0
27+
packaging==25.0
28+
pillow==11.3.0
29+
pluggy==1.6.0
30+
propcache==0.3.2
31+
pydantic==2.11.7
32+
pydantic-core==2.33.2
33+
pygments==2.19.2
34+
pytest==8.4.1
35+
pytest-asyncio==0.21.1
36+
pytest-cov==6.2.1
37+
pytest-mock==3.14.1
38+
pytest-randomly==3.16.0
39+
pyyaml==6.0.2
40+
regex==2024.11.6
41+
requests==2.32.4
42+
sniffio==1.3.1
43+
sortedcontainers==2.4.0
44+
tiktoken==0.9.0
45+
tomli==2.2.1
46+
tqdm==4.67.1
47+
typing-extensions==4.14.1
48+
typing-inspection==0.4.1
49+
urllib3==1.26.20
50+
vcrpy==7.0.0
51+
wrapt==1.17.2
52+
yarl==1.20.1
53+
zipp==3.23.0

ddtrace/_trace/_span_link.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,8 @@ def to_dict(self):
120120

121121
return d
122122

123-
def __str__(self) -> str:
124-
attrs_str = ",".join([f"{k}:{v}" for k, v in self.attributes.items()])
123+
def __repr__(self) -> str:
125124
return (
126-
f"trace_id={self.trace_id} span_id={self.span_id} attributes={attrs_str} "
127-
f"tracestate={self.tracestate} flags={self.flags} dropped_attributes={self._dropped_attributes}"
125+
f"SpanLink(trace_id={self.trace_id}, span_id={self.span_id}, attributes={self.attributes}, "
126+
f"tracestate={self.tracestate}, flags={self.flags}, dropped_attributes={self._dropped_attributes})"
128127
)

ddtrace/_trace/_span_pointer.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ def __post_init__(self):
6161
# Do not want to do the trace_id and span_id checks that SpanLink does.
6262
pass
6363

64+
def __repr__(self):
65+
return (
66+
f"SpanPointer(trace_id={self.trace_id}, span_id={self.span_id}, kind={self.kind}, "
67+
f"direction={self.direction}, hash={self.hash}, attributes={self.attributes})"
68+
)
69+
6470

6571
_STANDARD_HASHING_FUNCTION_FAILURE_PREFIX = "HashingFailure"
6672

ddtrace/_trace/context.py

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -286,17 +286,11 @@ def __eq__(self, other: Any) -> bool:
286286
return False
287287

288288
def __repr__(self) -> str:
289-
return "Context(trace_id=%s, span_id=%s, _meta=%s, _metrics=%s, _span_links=%s, _baggage=%s, _is_remote=%s)" % (
290-
self.trace_id,
291-
self.span_id,
292-
self._meta,
293-
self._metrics,
294-
self._span_links,
295-
self._baggage,
296-
self._is_remote,
289+
return (
290+
f"Context(trace_id={self.trace_id}, span_id={self.span_id}, _meta={self._meta}, "
291+
f"_metrics={self._metrics}, _span_links={self._span_links}, _baggage={self._baggage}, "
292+
f"_is_remote={self._is_remote})"
297293
)
298294

299295
def __hash__(self) -> int:
300296
return hash(self.trace_id)
301-
302-
__str__ = __repr__

0 commit comments

Comments
 (0)