diff --git a/exporter/opentelemetry-exporter-otlp-proto-common/pyproject.toml b/exporter/opentelemetry-exporter-otlp-proto-common/pyproject.toml index cf1749b910a..8043bfbcf9a 100644 --- a/exporter/opentelemetry-exporter-otlp-proto-common/pyproject.toml +++ b/exporter/opentelemetry-exporter-otlp-proto-common/pyproject.toml @@ -27,9 +27,6 @@ dependencies = [ "opentelemetry-proto == 1.24.0.dev", ] -[project.optional-dependencies] -test = [] - [project.urls] Homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp-proto-common" diff --git a/exporter/opentelemetry-exporter-otlp-proto-common/test-requirements.txt b/exporter/opentelemetry-exporter-otlp-proto-common/test-requirements.txt new file mode 100644 index 00000000000..60f3dcd2ea7 --- /dev/null +++ b/exporter/opentelemetry-exporter-otlp-proto-common/test-requirements.txt @@ -0,0 +1,19 @@ +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 +protobuf==4.25.3 +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-proto +-e exporter/opentelemetry-exporter-otlp-proto-common diff --git a/tox.ini b/tox.ini index df19ab7a1ac..3f4c9434c0f 100644 --- a/tox.ini +++ b/tox.ini @@ -120,8 +120,7 @@ commands_pre = exporter-opencensus: pip install -r {toxinidir}/exporter/opentelemetry-exporter-opencensus/test-requirements.txt - exporter-otlp-proto-common: pip install {toxinidir}/opentelemetry-proto - exporter-otlp-proto-common: pip install {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-common + exporter-otlp-proto-common: pip install -r {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-common/test-requirements.txt exporter-otlp-combined: pip install {toxinidir}/opentelemetry-proto exporter-otlp-combined: pip install {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-common @@ -221,7 +220,7 @@ commands_pre = pip install -r {toxinidir}/shim/opentelemetry-opencensus-shim/test-requirements.txt pip install -r {toxinidir}/exporter/opentelemetry-exporter-opencensus/test-requirements.txt pip install -r {toxinidir}/tests/opentelemetry-test-utils/test-requirements.txt - python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-common[test] + pip install -r {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-common/test-requirements.txt python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-grpc[test] pip install -r {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-http/test-requirements-1.txt python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-otlp[test]