diff --git a/propagator/opentelemetry-propagator-jaeger/pyproject.toml b/propagator/opentelemetry-propagator-jaeger/pyproject.toml index 105f708861..b716925f43 100644 --- a/propagator/opentelemetry-propagator-jaeger/pyproject.toml +++ b/propagator/opentelemetry-propagator-jaeger/pyproject.toml @@ -28,9 +28,6 @@ dependencies = [ "opentelemetry-api ~= 1.3", ] -[project.optional-dependencies] -test = [] - [project.entry-points.opentelemetry_propagator] jaeger = "opentelemetry.propagators.jaeger:JaegerPropagator" diff --git a/propagator/opentelemetry-propagator-jaeger/test-requirements.txt b/propagator/opentelemetry-propagator-jaeger/test-requirements.txt new file mode 100644 index 0000000000..ed7338bfbc --- /dev/null +++ b/propagator/opentelemetry-propagator-jaeger/test-requirements.txt @@ -0,0 +1,18 @@ +asgiref==3.7.2 +attrs==23.2.0 +Deprecated==1.2.14 +flaky==3.7.0 +importlib-metadata==6.11.0 +iniconfig==2.0.0 +packaging==23.2 +pluggy==1.4.0 +py==1.11.0 +py-cpuinfo==9.0.0 +pytest==7.1.3 +pytest-benchmark==4.0.0 +tomli==2.0.1 +typing_extensions==4.10.0 +wrapt==1.16.0 +zipp==3.17.0 +-e opentelemetry-api +-e propagator/opentelemetry-propagator-jaeger diff --git a/tox.ini b/tox.ini index 7f18b849f5..2911a56ad4 100644 --- a/tox.ini +++ b/tox.ini @@ -153,7 +153,7 @@ commands_pre = propagator-b3: pip install -r {toxinidir}/propagator/opentelemetry-propagator-b3/test-requirements.txt - propagator-jaeger: pip install {toxinidir}/propagator/opentelemetry-propagator-jaeger + propagator-jaeger: pip install -r {toxinidir}/propagator/opentelemetry-propagator-jaeger/test-requirements.txt ; In order to get a healthy coverage report, ; we have to install packages in editable mode. @@ -230,7 +230,7 @@ commands_pre = python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-zipkin-proto-http[test] python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-zipkin[test] pip install -r {toxinidir}/propagator/opentelemetry-propagator-b3/test-requirements.txt - python -m pip install -e {toxinidir}/propagator/opentelemetry-propagator-jaeger[test] + pip install -r {toxinidir}/propagator/opentelemetry-propagator-jaeger/test-requirements.txt # Pin protobuf version due to lint failing on v3.20.0 # https://github.com/protocolbuffers/protobuf/issues/9730 python -m pip install protobuf==3.19.4