diff --git a/poetry.lock b/poetry.lock index 7cf1506d2..0bf3029a4 100644 --- a/poetry.lock +++ b/poetry.lock @@ -4298,7 +4298,6 @@ files = [ {file = "psycopg2_binary-2.9.10-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:bb89f0a835bcfc1d42ccd5f41f04870c1b936d8507c6df12b7737febc40f0909"}, {file = "psycopg2_binary-2.9.10-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:f0c2d907a1e102526dd2986df638343388b94c33860ff3bbe1384130828714b1"}, {file = "psycopg2_binary-2.9.10-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:f8157bed2f51db683f31306aa497311b560f2265998122abe1dce6428bd86567"}, - {file = "psycopg2_binary-2.9.10-cp313-cp313-win_amd64.whl", hash = "sha256:27422aa5f11fbcd9b18da48373eb67081243662f9b46e6fd07c3eb46e4535142"}, {file = "psycopg2_binary-2.9.10-cp38-cp38-macosx_12_0_x86_64.whl", hash = "sha256:eb09aa7f9cecb45027683bb55aebaaf45a0df8bf6de68801a6afdc7947bb09d4"}, {file = "psycopg2_binary-2.9.10-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b73d6d7f0ccdad7bc43e6d34273f70d587ef62f824d7261c4ae9b8b1b6af90e8"}, {file = "psycopg2_binary-2.9.10-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ce5ab4bf46a211a8e924d307c1b1fcda82368586a19d0a24f8ae166f5c784864"}, @@ -6943,4 +6942,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.1" python-versions = ">=3.10,<3.13" -content-hash = "d0ede41d42b5055bb0407edae762e53ba90311e3e4bb616595e0213b87f5f1e6" +content-hash = "cc0e77ee55f4fa9e7523ea5382d359672b63809f28c532878672422f2158cd8d" diff --git a/pyproject.toml b/pyproject.toml index fa8d227f3..59ef2b600 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,10 +22,9 @@ rich = "^14.0.0" datasets = "^3.6.0" requests = "^2.32.4" pycountry = "24.6.1" -opentelemetry-api = "^1.29.0" -opentelemetry-sdk = "^1.29.0" +opentelemetry-api = "^1.34.1" +opentelemetry-sdk = "^1.34.1" huggingface-hub = "^0.32.4" -opentelemetry-exporter-otlp-proto-http = "1.29.0" # summary grader rouge-score = "^0.1.2" sacrebleu = "^2.5.1" @@ -37,6 +36,12 @@ psycopg2-binary = "^2.9.9" aiohttp = "^3.12.12" python-liquid = "^1.13.0" +# exporter is OPTIONAL – won’t be pulled in unless the extra is requested +opentelemetry-exporter-otlp-proto-http = { version = "^1.34.1", optional = true } + +[tool.poetry.extras] +otel-http = ["opentelemetry-exporter-otlp-proto-http"] + [tool.poetry.group.dev.dependencies] # lint & format mypy = "^1.16.0"