Skip to content

Commit 92f04dd

Browse files
committed
chore: pin to newer versions for all opentelemtry-packages
chore: make `opentelemetry-exporter-otlp-proto-http` optional chore: fix pyproject.toml
1 parent fc169ac commit 92f04dd

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

pyproject.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ rich = "^14.0.0"
2222
datasets = "^3.6.0"
2323
requests = "^2.32.4"
2424
pycountry = "24.6.1"
25-
opentelemetry-api = "^1.29.0"
26-
opentelemetry-sdk = "^1.29.0"
25+
opentelemetry-api = "^1.34.1"
26+
opentelemetry-sdk = "^1.34.1"
2727
huggingface-hub = "^0.32.4"
28-
opentelemetry-exporter-otlp-proto-http = "^1.29.0"
2928
# summary grader
3029
rouge-score = "^0.1.2"
3130
sacrebleu = "^2.5.1"
@@ -37,6 +36,12 @@ psycopg2-binary = "^2.9.9"
3736
aiohttp = "^3.12.12"
3837
python-liquid = "^1.13.0"
3938

39+
# exporter is OPTIONAL – won’t be pulled in unless the extra is requested
40+
opentelemetry-exporter-otlp-proto-http = { version = "^1.34.1", optional = true }
41+
42+
[tool.poetry.extras]
43+
otel-http = ["opentelemetry-exporter-otlp-proto-http"]
44+
4045
[tool.poetry.group.dev.dependencies]
4146
# lint & format
4247
mypy = "^1.16.0"

0 commit comments

Comments
 (0)