Skip to content

Commit 66365f8

Browse files
committed
Remove [test] package from grpc instrumentation
Fixes #2202
1 parent 1e0b11f commit 66365f8

File tree

3 files changed

+22
-9
lines changed

3 files changed

+22
-9
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-3
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,6 @@ deps =
278278
flask-220: Werkzeug <3.0.0
279279
flask-300: Flask >=3.0.0
280280
flask-300: Werkzeug >=3.0.0
281-
grpc: pytest-asyncio
282281
sqlalchemy-11: sqlalchemy>=1.1,<1.2
283282
sqlalchemy-14: aiosqlite
284283
sqlalchemy-14: sqlalchemy~=1.4
@@ -331,7 +330,7 @@ commands_pre =
331330

332331
confluent-kafka: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-confluent-kafka[test]
333332

334-
grpc: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc[test]
333+
grpc: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc/test-requirements.txt
335334

336335
falcon-{1,2,3},flask-{213,220,300},django-{1,2,3,4},pyramid,tornado,starlette,fastapi,aiohttp,asgi,httpx-{18,21},requests,urllib,urllib3v-{1,2},wsgi: pip install {toxinidir}/util/opentelemetry-util-http
337336
wsgi,falcon-{1,2,3},flask-{213,220,300},django-{1,2,3,4},pyramid: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi[test]
@@ -541,7 +540,7 @@ commands_pre =
541540
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-boto3sqs[test]
542541
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-django[test]
543542
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-starlette[test]
544-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc[test]
543+
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc/test-requirements.txt
545544
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-falcon[test]
546545
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-boto[test]
547546
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-flask[test]

0 commit comments

Comments
 (0)