Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6af918b

Browse files
ocelotllzchen
andauthored
Remove [test] package from opentelemetry-exporter-otlp-proto-http (open-telemetry#3742)
Fixes open-telemetry#3723 Co-authored-by: Leighton Chen <[email protected]>
1 parent 6c1940a commit 6af918b

File tree

4 files changed

+65
-9
lines changed

4 files changed

+65
-9
lines changed

exporter/opentelemetry-exporter-otlp-proto-http/pyproject.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ dependencies = [
3333
"requests ~= 2.7",
3434
]
3535

36-
[project.optional-dependencies]
37-
test = [
38-
"responses >= 0.22.0, < 0.25",
39-
]
40-
4136
[project.entry-points.opentelemetry_traces_exporter]
4237
otlp_proto_http = "opentelemetry.exporter.otlp.proto.http.trace_exporter:OTLPSpanExporter"
4338

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
asgiref==3.7.2
2+
attrs==23.2.0
3+
certifi==2024.2.2
4+
charset-normalizer==3.3.2
5+
Deprecated==1.2.14
6+
flaky==3.7.0
7+
googleapis-common-protos==1.62.0
8+
idna==3.6
9+
importlib-metadata==6.11.0
10+
iniconfig==2.0.0
11+
packaging==23.2
12+
pluggy==1.4.0
13+
protobuf==3.19.6
14+
py==1.11.0
15+
py-cpuinfo==9.0.0
16+
pytest==7.1.3
17+
pytest-benchmark==4.0.0
18+
PyYAML==6.0.1
19+
requests==2.31.0
20+
responses==0.24.1
21+
tomli==2.0.1
22+
typing_extensions==4.10.0
23+
urllib3==2.2.1
24+
wrapt==1.16.0
25+
zipp==3.17.0
26+
-e opentelemetry-api
27+
-e exporter/opentelemetry-exporter-otlp-proto-common
28+
-e opentelemetry-proto
29+
-e opentelemetry-sdk
30+
-e opentelemetry-semantic-conventions
31+
-e exporter/opentelemetry-exporter-otlp-proto-http
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
asgiref==3.7.2
2+
attrs==23.2.0
3+
certifi==2024.2.2
4+
charset-normalizer==3.3.2
5+
Deprecated==1.2.14
6+
flaky==3.7.0
7+
googleapis-common-protos==1.62.0
8+
idna==3.6
9+
importlib-metadata==6.11.0
10+
iniconfig==2.0.0
11+
packaging==23.2
12+
pluggy==1.4.0
13+
protobuf==4.25.3
14+
py==1.11.0
15+
py-cpuinfo==9.0.0
16+
pytest==7.1.3
17+
pytest-benchmark==4.0.0
18+
PyYAML==6.0.1
19+
requests==2.31.0
20+
responses==0.24.1
21+
tomli==2.0.1
22+
typing_extensions==4.10.0
23+
urllib3==2.2.1
24+
wrapt==1.16.0
25+
zipp==3.17.0
26+
-e opentelemetry-api
27+
-e exporter/opentelemetry-exporter-otlp-proto-common
28+
-e opentelemetry-proto
29+
-e opentelemetry-sdk
30+
-e opentelemetry-semantic-conventions
31+
-e exporter/opentelemetry-exporter-otlp-proto-http

tox.ini

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,8 @@ commands_pre =
131131
exporter-otlp-proto-grpc: pip install {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-common
132132
exporter-otlp-proto-grpc: pip install {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-grpc
133133

134-
exporter-otlp-proto-http: pip install {toxinidir}/opentelemetry-proto
135-
exporter-otlp-proto-http: pip install {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-common
136-
exporter-otlp-proto-http: pip install {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-http[test]
134+
proto3-opentelemetry-exporter-otlp-proto-http: pip install -r {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-http/test-requirements-0.txt
135+
proto4-opentelemetry-exporter-otlp-proto-http: pip install -r {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-http/test-requirements-1.txt
137136

138137
opentracing-shim: pip install {toxinidir}/opentelemetry-sdk
139138
opentracing-shim: pip install {toxinidir}/shim/opentelemetry-opentracing-shim
@@ -224,7 +223,7 @@ commands_pre =
224223
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-opencensus[test]
225224
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-common[test]
226225
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-grpc[test]
227-
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-http[test]
226+
pip install -r {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-http/test-requirements-1.txt
228227
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-otlp[test]
229228
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-prometheus[test]
230229
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-zipkin-json[test]

0 commit comments

Comments
 (0)