Skip to content

Commit

Permalink
Remove [test] package from opentelemetry-exporter-otlp-proto-grpc (#3746
Browse files Browse the repository at this point in the history
)

* Remove [test] package from opentelemetry-exporter-otlp-proto-grpc

Fixes #3724

* Remove invisible character
  • Loading branch information
ocelotl authored Apr 12, 2024
1 parent 3acc474 commit 9866842
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ dependencies = [
"opentelemetry-exporter-otlp-proto-common == 1.25.0.dev",
]

[project.optional-dependencies]
test = [
"pytest-grpc",
]

[project.entry-points.opentelemetry_logs_exporter]
otlp_proto_grpc = "opentelemetry.exporter.otlp.proto.grpc._log_exporter:OTLPLogExporter"

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
asgiref==3.7.2
attrs==23.2.0
Deprecated==1.2.14
flaky==3.7.0
googleapis-common-protos==1.62.0
grpcio==1.62.0
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==23.2
pluggy==1.4.0
protobuf==3.19.6
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 exporter/opentelemetry-exporter-otlp-proto-common
-e opentelemetry-proto
-e opentelemetry-sdk
-e opentelemetry-semantic-conventions
-e exporter/opentelemetry-exporter-otlp-proto-grpc
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
asgiref==3.7.2
attrs==23.2.0
Deprecated==1.2.14
flaky==3.7.0
googleapis-common-protos==1.62.0
grpcio==1.62.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-api
-e exporter/opentelemetry-exporter-otlp-proto-common
-e opentelemetry-proto
-e opentelemetry-sdk
-e opentelemetry-semantic-conventions
-e exporter/opentelemetry-exporter-otlp-proto-grpc
7 changes: 3 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,8 @@ commands_pre =

exporter-otlp-combined: pip install -r {toxinidir}/exporter/opentelemetry-exporter-otlp/test-requirements.txt

exporter-otlp-proto-grpc: pip install {toxinidir}/opentelemetry-proto
exporter-otlp-proto-grpc: pip install {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-common
exporter-otlp-proto-grpc: pip install {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-grpc
proto3-opentelemetry-exporter-otlp-proto-grpc: pip install -r {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements-0.txt
proto4-opentelemetry-exporter-otlp-proto-grpc: pip install -r {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements-1.txt

proto3-opentelemetry-exporter-otlp-proto-http: pip install -r {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-http/test-requirements-0.txt
proto4-opentelemetry-exporter-otlp-proto-http: pip install -r {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-http/test-requirements-1.txt
Expand Down Expand Up @@ -214,8 +213,8 @@ commands_pre =
pip install -r {toxinidir}/exporter/opentelemetry-exporter-opencensus/test-requirements.txt
pip install -r {toxinidir}/tests/opentelemetry-test-utils/test-requirements.txt
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
pip install -r {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements-1.txt
pip install -r {toxinidir}/exporter/opentelemetry-exporter-prometheus/test-requirements.txt
pip install -r {toxinidir}/exporter/opentelemetry-exporter-zipkin-proto-http/test-requirements.txt
pip install -r {toxinidir}/exporter/opentelemetry-exporter-zipkin-json/test-requirements.txt
Expand Down

0 comments on commit 9866842

Please sign in to comment.