From 2e2782a81dcafbf6d155944268f2cfd16c63f188 Mon Sep 17 00:00:00 2001 From: Pablo Collins Date: Mon, 25 Nov 2024 15:03:40 -0500 Subject: [PATCH] Update deps (#549) * Bump upstream otel versions. Remove cryptography library (from v1, not used?) Remove protobuf library (version pin conflicted with upstream) * Fix propagator ott deps --- pyproject.toml | 18 ++++++++---------- tests/ott_propagator.py | 3 +-- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 440aeba..407ead2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,16 +23,14 @@ classifiers = [ "Programming Language :: Python :: Implementation :: PyPy", ] dependencies = [ - "cryptography>=2.0,<=42.0.8", - "protobuf>=4.23,<5.0", - "opentelemetry-api==1.27.0", - "opentelemetry-sdk==1.27.0", - "opentelemetry-propagator-b3==1.27.0", - "opentelemetry-exporter-otlp-proto-grpc==1.27.0", - "opentelemetry-exporter-otlp-proto-http==1.27.0", - "opentelemetry-instrumentation==0.48b0", - "opentelemetry-instrumentation-system-metrics==0.48b0", - "opentelemetry-semantic-conventions==0.48b0", + "opentelemetry-api==1.28.2", + "opentelemetry-sdk==1.28.2", + "opentelemetry-propagator-b3==1.28.2", + "opentelemetry-exporter-otlp-proto-grpc==1.28.2", + "opentelemetry-exporter-otlp-proto-http==1.28.2", + "opentelemetry-instrumentation==0.49b2", + "opentelemetry-instrumentation-system-metrics==0.49b2", + "opentelemetry-semantic-conventions==0.49b2", ] [project.urls] diff --git a/tests/ott_propagator.py b/tests/ott_propagator.py index da7f882..49ea305 100644 --- a/tests/ott_propagator.py +++ b/tests/ott_propagator.py @@ -35,8 +35,7 @@ def requirements(self) -> Sequence[str]: project_path(), "oteltest", "flask", - "opentelemetry-instrumentation-flask==0.48b0", - "opentelemetry-exporter-otlp-proto-grpc==1.27.0", + "opentelemetry-instrumentation-flask", ] def wrapper_command(self) -> str: