Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ dependencies = [
"requests-oauthlib~=2.0.0",
"pydantic~=2.12.3",
"hatchling~=1.27.0",
"opentelemetry-exporter-otlp-proto-grpc~=1.42.1",
"opentelemetry-exporter-otlp-proto-http~=1.42.1",
"opentelemetry-exporter-otlp-proto-grpc~=1.44.0",
"opentelemetry-exporter-otlp-proto-http~=1.44.0",
"traceloop-sdk~=0.61.0",
"opentelemetry-instrumentation-langchain>=0.61.0,<1",
"httpx>=0.27.0,<1",
"PyJWT>=2.13.0,<3",
"protobuf>=5.0.0,<8",
"protovalidate>=0.13.0,<1",
"protobuf>=6.33.5,<7",
"protovalidate>=1.0.0,<2",
"grpcio>=1.60.0,<2",
"opentelemetry-api>=1.42.1,<2",
"opentelemetry-sdk>=1.42.1,<2",
"opentelemetry-api~=1.44.0",
"opentelemetry-sdk~=1.44.0",
"mcp>=1.1.0,<2",
]

Expand All @@ -50,7 +50,7 @@ dev = [
"pytest-bdd>=8.1.0,<9",
"python-dotenv>=1.0.0,<2",
"ty>=0.0.21,<1",
"cryptography>=46.0.3,<47",
"cryptography>=48.0.1,<51",
"ruff>=0.8.0,<1",
"starlette>=0.40.0,<1",
"anyio>=4.5,<5",
Expand Down
6 changes: 6 additions & 0 deletions src/sap_cloud_sdk/core/auditlog_ng/buf.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Generated by buf. DO NOT EDIT.
version: v2
deps:
- name: buf.build/bufbuild/protovalidate
commit: 511051f7f4374c3ca873b53ae68a9288
digest: b5:a4a2d4d808a25984cced60769c822c5d496ef0b740f56ac0c9e6b97aaa25b86a9332a00ffd74e0cd202be29e91bd3edfb0bf2ba4dacfe48ff2d8217f9986e3c8
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ def _normalize_attributes(self, span: ReadableSpan) -> None:
if not hasattr(span, "_attributes") or span._attributes is None:
return

# BoundedAttributes (the default OTEL type) is immutable; copy to a plain dict
# so we can mutate it in-place below.
if not isinstance(span._attributes, dict):
span._attributes = dict(span._attributes)

attrs = cast(MutableMapping[str, Any], span._attributes)

# Only consider spans that have traceloop.* or llm.* or gen_ai.prompt.* or gen_ai.completion.* attributes
Expand Down
Loading
Loading