Skip to content

Commit 4abf165

Browse files
committedFeb 28, 2024
Remove [test] package from aiohttp-client instrumentation
Fixes #2183
1 parent 8daa8ad commit 4abf165

File tree

3 files changed

+40
-7
lines changed

3 files changed

+40
-7
lines changed
 

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

-4
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"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
aiohttp==3.9.3
2+
aiosignal==1.3.1
3+
asgiref==3.7.2
4+
async-timeout==4.0.3
5+
attrs==23.2.0
6+
blinker==1.7.0
7+
certifi==2024.2.2
8+
charset-normalizer==3.3.2
9+
click==8.1.7
10+
Deprecated==1.2.14
11+
Flask==3.0.2
12+
frozenlist==1.4.1
13+
http_server_mock==1.7
14+
idna==3.6
15+
importlib-metadata==6.11.0
16+
iniconfig==2.0.0
17+
itsdangerous==2.1.2
18+
Jinja2==3.1.3
19+
MarkupSafe==2.1.5
20+
multidict==6.0.5
21+
packaging==23.2
22+
pluggy==1.4.0
23+
py==1.11.0
24+
py-cpuinfo==9.0.0
25+
pytest==7.1.3
26+
pytest-benchmark==4.0.0
27+
requests==2.31.0
28+
tomli==2.0.1
29+
typing_extensions==4.10.0
30+
urllib3==2.2.1
31+
Werkzeug==3.0.1
32+
wrapt==1.16.0
33+
yarl==1.9.4
34+
zipp==3.17.0
35+
-e ../../../opentelemetry-instrumentation
36+
-e ../../../util/opentelemetry-util-http
37+
-e ../../../instrumentation/opentelemetry-instrumentation-aiohttp-client

‎tox.ini

+3-3
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ commands_pre =
391391

392392
grpc: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc[test]
393393

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

@@ -460,7 +460,7 @@ commands_pre =
460460

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

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

465465
aiohttp-server: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-server[test]
466466

@@ -564,7 +564,7 @@ commands_pre =
564564
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pymemcache[test]
565565
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg[test]
566566
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg2[test]
567-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-client[test]
567+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-client
568568
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-server[test]
569569
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg[test]
570570
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlite3[test]

0 commit comments

Comments
 (0)