Skip to content

Commit 17de1d5

Browse files
authored
Remove [test] package from aiohttp-client instrumentation (#2238)
Fixes #2183
1 parent 8d43618 commit 17de1d5

File tree

3 files changed

+42
-7
lines changed

3 files changed

+42
-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

+5-3
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ commands_pre =
345345

346346
grpc: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc[test]
347347

348-
aiohttp,httpx-{18,21},requests,urllib,urllib3v-{1,2}: pip install {toxinidir}/util/opentelemetry-util-http
348+
aiohttp-server,httpx-{18,21},requests,urllib,urllib3v-{1,2}: pip install {toxinidir}/util/opentelemetry-util-http
349349

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

@@ -422,7 +422,9 @@ commands_pre =
422422

423423
logging: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-logging[test]
424424

425-
aiohttp-client: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-client[test]
425+
aio-pika-{8,9}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aio-pika[test]
426+
427+
aiohttp-client: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-client/test-requirements.txt
426428

427429
aiohttp-server: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-server[test]
428430

@@ -581,7 +583,7 @@ commands_pre =
581583
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pymemcache[test]
582584
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg[test]
583585
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg2[test]
584-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-client[test]
586+
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-client/test-requirements.txt
585587
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-server[test]
586588
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg/test-requirements.txt
587589
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlite3[test]

0 commit comments

Comments
 (0)