Skip to content

Commit 992d2dc

Browse files
committed
Remove [test] package from aiohttp-client instrumentation
Fixes open-telemetry#2183
1 parent b6492a7 commit 992d2dc

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

instrumentation/opentelemetry-instrumentation-aiohttp-client/pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ dependencies = [
3535
instruments = [
3636
"aiohttp ~= 3.0",
3737
]
38-
test = [
39-
"opentelemetry-instrumentation-aiohttp-client[instruments]",
40-
"http-server-mock"
41-
]
4238

4339
[project.entry-points.opentelemetry_instrumentor]
4440
aiohttp-client = "opentelemetry.instrumentation.aiohttp_client:AioHttpClientInstrumentor"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-e ../../../opentelemetry-instrumentation
2+
-e ../../../util/opentelemetry-util-http
3+
aiohttp==3.9.3
4+
http-server-mock==1.7
5+
-e ../../../instrumentation/opentelemetry-instrumentation-aiohttp-client

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ commands_pre =
386386

387387
grpc: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc[test]
388388

389-
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
389+
falcon-{1,2,3},flask-{213,220,300},django-{1,2,3,4},pyramid,tornado,starlette,fastapi,asgi,httpx-{18,21},requests,urllib,urllib3v-{1,2},wsgi: pip install {toxinidir}/util/opentelemetry-util-http
390390
wsgi,falcon-{1,2,3},flask-{213,220,300},django-{1,2,3,4},pyramid: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi[test]
391391
asgi,django-{3,4},starlette,fastapi: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi[test]
392392

@@ -453,7 +453,7 @@ commands_pre =
453453

454454
aio-pika-{8,9}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aio-pika[test]
455455

456-
aiohttp-client: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-client[test]
456+
aiohttp-client: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-client/test-requirements.txt
457457

458458
aiohttp-server: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-server[test]
459459

@@ -556,7 +556,7 @@ commands_pre =
556556
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-logging[test]
557557
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pymemcache[test]
558558
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg2[test]
559-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-client[test]
559+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-client
560560
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-server[test]
561561
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg[test]
562562
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlite3[test]

0 commit comments

Comments
 (0)