diff --git a/docs/getting_started/tests/requirements.txt b/docs/getting_started/tests/requirements.txt index 67ef3bd7b2b..b1246ae9c97 100644 --- a/docs/getting_started/tests/requirements.txt +++ b/docs/getting_started/tests/requirements.txt @@ -25,3 +25,6 @@ urllib3==1.26.18 Werkzeug==3.0.3 wrapt==1.15.0 zipp==3.17.0 +-e opentelemetry-semantic-conventions +-e opentelemetry-api +-e opentelemetry-sdk diff --git a/exporter/opentelemetry-exporter-opencensus/test-requirements.txt b/exporter/opentelemetry-exporter-opencensus/test-requirements.txt index 8a6345c7e22..c45564ffdbe 100644 --- a/exporter/opentelemetry-exporter-opencensus/test-requirements.txt +++ b/exporter/opentelemetry-exporter-opencensus/test-requirements.txt @@ -19,5 +19,6 @@ wrapt==1.16.0 zipp==3.17.0 -e opentelemetry-api -e opentelemetry-sdk +-e tests/opentelemetry-test-utils -e opentelemetry-semantic-conventions -e exporter/opentelemetry-exporter-opencensus diff --git a/exporter/opentelemetry-exporter-otlp-proto-common/test-requirements-0.txt b/exporter/opentelemetry-exporter-otlp-proto-common/test-requirements-0.txt index a692923fc42..276d5f064a5 100644 --- a/exporter/opentelemetry-exporter-otlp-proto-common/test-requirements-0.txt +++ b/exporter/opentelemetry-exporter-otlp-proto-common/test-requirements-0.txt @@ -15,5 +15,9 @@ tomli==2.0.1 typing_extensions==4.10.0 wrapt==1.16.0 zipp==3.17.0 +-e opentelemetry-api +-e opentelemetry-sdk +-e opentelemetry-semantic-conventions +-e tests/opentelemetry-test-utils -e opentelemetry-proto -e exporter/opentelemetry-exporter-otlp-proto-common diff --git a/exporter/opentelemetry-exporter-otlp-proto-common/test-requirements-1.txt b/exporter/opentelemetry-exporter-otlp-proto-common/test-requirements-1.txt index 60f3dcd2ea7..658bfcfd620 100644 --- a/exporter/opentelemetry-exporter-otlp-proto-common/test-requirements-1.txt +++ b/exporter/opentelemetry-exporter-otlp-proto-common/test-requirements-1.txt @@ -15,5 +15,9 @@ tomli==2.0.1 typing_extensions==4.10.0 wrapt==1.16.0 zipp==3.17.0 +-e opentelemetry-api +-e opentelemetry-sdk +-e opentelemetry-semantic-conventions +-e tests/opentelemetry-test-utils -e opentelemetry-proto -e exporter/opentelemetry-exporter-otlp-proto-common diff --git a/exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements-0.txt b/exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements-0.txt index c1ef1b74296..5834ac3fcc2 100644 --- a/exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements-0.txt +++ b/exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements-0.txt @@ -18,6 +18,7 @@ typing_extensions==4.10.0 wrapt==1.16.0 zipp==3.17.0 -e opentelemetry-api +-e tests/opentelemetry-test-utils -e exporter/opentelemetry-exporter-otlp-proto-common -e opentelemetry-proto -e opentelemetry-sdk diff --git a/exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements-1.txt b/exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements-1.txt index 5fd39ca5761..c801d210d50 100644 --- a/exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements-1.txt +++ b/exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements-1.txt @@ -18,6 +18,7 @@ typing_extensions==4.10.0 wrapt==1.16.0 zipp==3.17.0 -e opentelemetry-api +-e tests/opentelemetry-test-utils -e exporter/opentelemetry-exporter-otlp-proto-common -e opentelemetry-proto -e opentelemetry-sdk diff --git a/exporter/opentelemetry-exporter-otlp-proto-http/test-requirements-0.txt b/exporter/opentelemetry-exporter-otlp-proto-http/test-requirements-0.txt index cad177da7b5..da3590c27c1 100644 --- a/exporter/opentelemetry-exporter-otlp-proto-http/test-requirements-0.txt +++ b/exporter/opentelemetry-exporter-otlp-proto-http/test-requirements-0.txt @@ -24,6 +24,7 @@ urllib3==2.2.1 wrapt==1.16.0 zipp==3.17.0 -e opentelemetry-api +-e tests/opentelemetry-test-utils -e exporter/opentelemetry-exporter-otlp-proto-common -e opentelemetry-proto -e opentelemetry-sdk diff --git a/exporter/opentelemetry-exporter-otlp-proto-http/test-requirements-1.txt b/exporter/opentelemetry-exporter-otlp-proto-http/test-requirements-1.txt index d38b38f1c40..0faee2e5192 100644 --- a/exporter/opentelemetry-exporter-otlp-proto-http/test-requirements-1.txt +++ b/exporter/opentelemetry-exporter-otlp-proto-http/test-requirements-1.txt @@ -24,6 +24,7 @@ urllib3==2.2.1 wrapt==1.16.0 zipp==3.17.0 -e opentelemetry-api +-e tests/opentelemetry-test-utils -e exporter/opentelemetry-exporter-otlp-proto-common -e opentelemetry-proto -e opentelemetry-sdk diff --git a/exporter/opentelemetry-exporter-otlp/test-requirements.txt b/exporter/opentelemetry-exporter-otlp/test-requirements.txt index 99775220476..c4283443df2 100644 --- a/exporter/opentelemetry-exporter-otlp/test-requirements.txt +++ b/exporter/opentelemetry-exporter-otlp/test-requirements.txt @@ -15,6 +15,7 @@ typing_extensions==4.10.0 wrapt==1.16.0 zipp==3.17.0 -e opentelemetry-api +-e tests/opentelemetry-test-utils -e exporter/opentelemetry-exporter-otlp-proto-common -e exporter/opentelemetry-exporter-otlp-proto-grpc -e exporter/opentelemetry-exporter-otlp-proto-http diff --git a/exporter/opentelemetry-exporter-prometheus/test-requirements.txt b/exporter/opentelemetry-exporter-prometheus/test-requirements.txt index 2b3dd0f9f04..e47c9c80bc8 100644 --- a/exporter/opentelemetry-exporter-prometheus/test-requirements.txt +++ b/exporter/opentelemetry-exporter-prometheus/test-requirements.txt @@ -17,5 +17,6 @@ wrapt==1.16.0 zipp==3.17.0 -e opentelemetry-api -e opentelemetry-sdk +-e tests/opentelemetry-test-utils -e opentelemetry-semantic-conventions -e exporter/opentelemetry-exporter-prometheus diff --git a/exporter/opentelemetry-exporter-zipkin-json/test-requirements.txt b/exporter/opentelemetry-exporter-zipkin-json/test-requirements.txt index 0625946182a..98deaf9a6c0 100644 --- a/exporter/opentelemetry-exporter-zipkin-json/test-requirements.txt +++ b/exporter/opentelemetry-exporter-zipkin-json/test-requirements.txt @@ -22,4 +22,5 @@ zipp==3.17.0 -e opentelemetry-api -e opentelemetry-sdk -e opentelemetry-semantic-conventions +-e tests/opentelemetry-test-utils -e exporter/opentelemetry-exporter-zipkin-json diff --git a/exporter/opentelemetry-exporter-zipkin-proto-http/test-requirements.txt b/exporter/opentelemetry-exporter-zipkin-proto-http/test-requirements.txt index acfa95ff2a0..a4536e5fa44 100644 --- a/exporter/opentelemetry-exporter-zipkin-proto-http/test-requirements.txt +++ b/exporter/opentelemetry-exporter-zipkin-proto-http/test-requirements.txt @@ -23,5 +23,6 @@ zipp==3.17.0 -e opentelemetry-api -e exporter/opentelemetry-exporter-zipkin-json -e opentelemetry-sdk +-e tests/opentelemetry-test-utils -e opentelemetry-semantic-conventions -e exporter/opentelemetry-exporter-zipkin-proto-http diff --git a/opentelemetry-api/test-requirements.txt b/opentelemetry-api/test-requirements.txt index 273750cb010..90247015a0b 100644 --- a/opentelemetry-api/test-requirements.txt +++ b/opentelemetry-api/test-requirements.txt @@ -14,4 +14,7 @@ tomli==2.0.1 typing_extensions==4.10.0 wrapt==1.16.0 zipp==3.17.0 +-e opentelemetry-sdk +-e opentelemetry-semantic-conventions +-e tests/opentelemetry-test-utils -e opentelemetry-api diff --git a/opentelemetry-sdk/test-requirements.txt b/opentelemetry-sdk/test-requirements.txt index ed03f730556..9612f354396 100644 --- a/opentelemetry-sdk/test-requirements.txt +++ b/opentelemetry-sdk/test-requirements.txt @@ -14,6 +14,7 @@ tomli==2.0.1 typing_extensions==4.10.0 wrapt==1.16.0 zipp==3.17.0 +-e tests/opentelemetry-test-utils -e opentelemetry-api -e opentelemetry-semantic-conventions -e opentelemetry-sdk diff --git a/propagator/opentelemetry-propagator-b3/test-requirements.txt b/propagator/opentelemetry-propagator-b3/test-requirements.txt index 366dfca0d89..a3b3b60c6fd 100644 --- a/propagator/opentelemetry-propagator-b3/test-requirements.txt +++ b/propagator/opentelemetry-propagator-b3/test-requirements.txt @@ -15,4 +15,6 @@ typing_extensions==4.10.0 wrapt==1.16.0 zipp==3.17.0 -e opentelemetry-api +-e opentelemetry-sdk +-e opentelemetry-semantic-conventions -e propagator/opentelemetry-propagator-b3 diff --git a/propagator/opentelemetry-propagator-jaeger/test-requirements.txt b/propagator/opentelemetry-propagator-jaeger/test-requirements.txt index ed7338bfbc2..8aa93cc474b 100644 --- a/propagator/opentelemetry-propagator-jaeger/test-requirements.txt +++ b/propagator/opentelemetry-propagator-jaeger/test-requirements.txt @@ -15,4 +15,7 @@ typing_extensions==4.10.0 wrapt==1.16.0 zipp==3.17.0 -e opentelemetry-api +-e opentelemetry-sdk +-e opentelemetry-semantic-conventions +-e tests/opentelemetry-test-utils -e propagator/opentelemetry-propagator-jaeger diff --git a/shim/opentelemetry-opencensus-shim/test-requirements.txt b/shim/opentelemetry-opencensus-shim/test-requirements.txt index 68008fb500e..c09fe41986e 100644 --- a/shim/opentelemetry-opencensus-shim/test-requirements.txt +++ b/shim/opentelemetry-opencensus-shim/test-requirements.txt @@ -33,4 +33,7 @@ urllib3==2.2.1 wrapt==1.16.0 zipp==3.17.0 -e opentelemetry-api +-e opentelemetry-sdk +-e tests/opentelemetry-test-utils +-e opentelemetry-semantic-conventions -e shim/opentelemetry-opencensus-shim diff --git a/shim/opentelemetry-opentracing-shim/test-requirements.txt b/shim/opentelemetry-opentracing-shim/test-requirements.txt index 37a2afbf99f..1bf45ffec36 100644 --- a/shim/opentelemetry-opentracing-shim/test-requirements.txt +++ b/shim/opentelemetry-opentracing-shim/test-requirements.txt @@ -16,4 +16,7 @@ typing_extensions==4.10.0 wrapt==1.16.0 zipp==3.17.0 -e opentelemetry-api +-e opentelemetry-sdk +-e tests/opentelemetry-test-utils +-e opentelemetry-semantic-conventions -e shim/opentelemetry-opentracing-shim diff --git a/tox.ini b/tox.ini index 2e12556b4d1..e80a0279e9f 100644 --- a/tox.ini +++ b/tox.ini @@ -112,17 +112,14 @@ setenv = mypy: MYPYPATH={toxinidir}/opentelemetry-api/src/:{toxinidir}/tests/opentelemetry-test-utils/src/ commands_pre = -; Install without -e to test the actual installation - py3{8,9,10,11}: python -m pip install -U pip setuptools wheel api: pip install -r {toxinidir}/opentelemetry-api/test-requirements.txt + sdk: pip install -r {toxinidir}/opentelemetry-sdk/test-requirements.txt + semantic-conventions: pip install -r {toxinidir}/opentelemetry-semantic-conventions/test-requirements.txt - test-utils: pip install -r {toxinidir}/tests/opentelemetry-test-utils/test-requirements.txt -; Install common packages for all the tests. These are not needed in all the -; cases but it saves a lot of boilerplate in this file. - opentelemetry: pip install {toxinidir}/opentelemetry-api {toxinidir}/opentelemetry-semantic-conventions {toxinidir}/opentelemetry-sdk {toxinidir}/tests/opentelemetry-test-utils + test-utils: pip install -r {toxinidir}/tests/opentelemetry-test-utils/test-requirements.txt protobuf-0: pip install -r {toxinidir}/opentelemetry-proto/test-requirements-0.txt protobuf-1: pip install -r {toxinidir}/opentelemetry-proto/test-requirements-1.txt