Skip to content

Commit 51c78bf

Browse files
authored
Remove [test] package from grpc instrumentation (#2290)
Fixes #2202
1 parent a8e57bf commit 51c78bf

File tree

3 files changed

+22
-8
lines changed

3 files changed

+22
-8
lines changed

instrumentation/opentelemetry-instrumentation-grpc/pyproject.toml

-6
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@ dependencies = [
3535
instruments = [
3636
"grpcio ~= 1.27",
3737
]
38-
test = [
39-
"opentelemetry-instrumentation-grpc[instruments]",
40-
"opentelemetry-sdk ~= 1.12",
41-
"opentelemetry-test-utils == 0.45b0.dev",
42-
"protobuf ~= 3.13",
43-
]
4438

4539
[project.entry-points.opentelemetry_instrumentor]
4640
grpc_client = "opentelemetry.instrumentation.grpc:GrpcInstrumentorClient"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
asgiref==3.7.2
2+
attrs==23.2.0
3+
Deprecated==1.2.14
4+
grpcio==1.62.0
5+
importlib-metadata==6.11.0
6+
iniconfig==2.0.0
7+
packaging==23.2
8+
pluggy==1.4.0
9+
protobuf==3.20.3
10+
py==1.11.0
11+
py-cpuinfo==9.0.0
12+
pytest==7.1.3
13+
pytest-asyncio==0.23.5
14+
pytest-benchmark==4.0.0
15+
tomli==2.0.1
16+
typing_extensions==4.9.0
17+
wrapt==1.16.0
18+
zipp==3.17.0
19+
-e opentelemetry-instrumentation
20+
-e instrumentation/opentelemetry-instrumentation-grpc

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ commands_pre =
341341

342342
confluent-kafka: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-confluent-kafka[test]
343343

344-
grpc: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc[test]
344+
grpc: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc/test-requirements.txt
345345

346346
wsgi: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi/test-requirements.txt
347347

@@ -571,8 +571,8 @@ commands_pre =
571571
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-boto3sqs[test]
572572
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-django/test-requirements-3.txt
573573
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-starlette/test-requirements.txt
574-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc[test]
575574
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-falcon/test-requirements-2.txt
575+
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc/test-requirements.txt
576576
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-boto[test]
577577
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-flask/test-requirements-2.txt
578578
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlalchemy/test-requirements-1.txt

0 commit comments

Comments
 (0)