From a4ca76a759edf612dc309fd6fff4e415690ff1bd Mon Sep 17 00:00:00 2001 From: Diego Hurtado Date: Tue, 16 Jul 2024 19:38:18 -0600 Subject: [PATCH 1/2] Add missing requirements and test processor baggage in CI Fixes #2716 --- .github/workflows/instrumentations_1.yml | 1 + .../test-requirements.txt | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/instrumentations_1.yml b/.github/workflows/instrumentations_1.yml index 1698a49be8..48d0839f81 100644 --- a/.github/workflows/instrumentations_1.yml +++ b/.github/workflows/instrumentations_1.yml @@ -39,6 +39,7 @@ jobs: - "resource-detector-container" - "util-http" - "fastapi-slim" + - "processor-baggage" os: [ubuntu-20.04] exclude: - python-version: pypy3 diff --git a/processor/opentelemetry-processor-baggage/test-requirements.txt b/processor/opentelemetry-processor-baggage/test-requirements.txt index fa7ad3d793..7e4fefd157 100644 --- a/processor/opentelemetry-processor-baggage/test-requirements.txt +++ b/processor/opentelemetry-processor-baggage/test-requirements.txt @@ -1,2 +1,7 @@ - --e processor/opentelemetry-processor-baggage \ No newline at end of file +importlib_metadata==8.0.0 +typing_extensions==4.12.2 +wrapt==1.16.0 +zipp==3.19.2 +pytest==7.4.4 +Deprecated==1.2.14 +-e processor/opentelemetry-processor-baggage From 2d655b83aed1a510ebbffd9efd1bfb4d98c0a6db Mon Sep 17 00:00:00 2001 From: Diego Hurtado Date: Wed, 24 Jul 2024 10:49:04 -0600 Subject: [PATCH 2/2] Add SDK dependency --- processor/opentelemetry-processor-baggage/pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/processor/opentelemetry-processor-baggage/pyproject.toml b/processor/opentelemetry-processor-baggage/pyproject.toml index 3fa80e1517..29fc2e8681 100644 --- a/processor/opentelemetry-processor-baggage/pyproject.toml +++ b/processor/opentelemetry-processor-baggage/pyproject.toml @@ -26,6 +26,7 @@ classifiers = [ ] dependencies = [ "opentelemetry-api ~= 1.5", + "opentelemetry-sdk ~= 1.5", "wrapt >= 1.0.0, < 2.0.0", ]