Skip to content

Commit 8a57e86

Browse files
committed
Remove [test] package from opentelemetry-exporter-otlp
Fixes open-telemetry#3728
1 parent 216411f commit 8a57e86

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed

Diff for: exporter/opentelemetry-exporter-otlp/pyproject.toml

-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ dependencies = [
2929
"opentelemetry-exporter-otlp-proto-http == 1.24.0.dev",
3030
]
3131

32-
[project.optional-dependencies]
33-
test = []
34-
3532
[project.entry-points.opentelemetry_logs_exporter]
3633
otlp = "opentelemetry.exporter.otlp.proto.grpc._log_exporter:OTLPLogExporter"
3734

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
asgiref==3.7.2
2+
attrs==23.2.0
3+
Deprecated==1.2.14
4+
flaky==3.7.0
5+
importlib-metadata==6.11.0
6+
iniconfig==2.0.0
7+
packaging==23.2
8+
pluggy==1.4.0
9+
py==1.11.0
10+
py-cpuinfo==9.0.0
11+
pytest==7.1.3
12+
pytest-benchmark==4.0.0
13+
tomli==2.0.1
14+
typing_extensions==4.10.0
15+
wrapt==1.16.0
16+
zipp==3.17.0
17+
-e opentelemetry-proto
18+
-e exporter/opentelemetry-exporter-otlp-proto-common
19+
-e exporter/opentelemetry-exporter-otlp-proto-grpc
20+
-e exporter/opentelemetry-exporter-otlp-proto-http
21+
-e exporter/opentelemetry-exporter-otlp

Diff for: tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ commands_pre =
121121
exporter-otlp-combined: pip install {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-common
122122
exporter-otlp-combined: pip install {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-grpc
123123
exporter-otlp-combined: pip install {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-http
124-
exporter-otlp-combined: pip install {toxinidir}/exporter/opentelemetry-exporter-otlp
124+
exporter-otlp-combined: pip install {toxinidir}/exporter/opentelemetry-exporter-otlp/test-requirements.txt
125125

126126
exporter-otlp-proto-grpc: pip install {toxinidir}/opentelemetry-proto
127127
exporter-otlp-proto-grpc: pip install {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-common
@@ -221,7 +221,7 @@ commands_pre =
221221
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-common[test]
222222
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-grpc[test]
223223
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-http[test]
224-
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-otlp[test]
224+
pip install -r {toxinidir}/exporter/opentelemetry-exporter-otlp
225225
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-prometheus[test]
226226
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-zipkin-json[test]
227227
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-zipkin-proto-http[test]

0 commit comments

Comments
 (0)