Skip to content

Commit da4ebd0

Browse files
committed
Remove [test] package from aiohttp-server instrumentation
Fixes #2184
1 parent 17de1d5 commit da4ebd0

File tree

3 files changed

+30
-8
lines changed

3 files changed

+30
-8
lines changed

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

-5
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@ dependencies = [
3535
instruments = [
3636
"aiohttp ~= 3.0",
3737
]
38-
test = [
39-
"opentelemetry-instrumentation-aiohttp-server[instruments]",
40-
"pytest-asyncio",
41-
"pytest-aiohttp",
42-
]
4338

4439
[project.entry-points.opentelemetry_instrumentor]
4540
aiohttp-server = "opentelemetry.instrumentation.aiohttp_server:AioHttpServerInstrumentor"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
Deprecated==1.2.14
7+
frozenlist==1.4.1
8+
idna==3.6
9+
importlib-metadata==6.11.0
10+
iniconfig==2.0.0
11+
multidict==6.0.5
12+
packaging==23.2
13+
pluggy==1.4.0
14+
py==1.11.0
15+
py-cpuinfo==9.0.0
16+
pytest==7.1.3
17+
pytest-aiohttp==1.0.5
18+
pytest-asyncio==0.23.5
19+
pytest-benchmark==4.0.0
20+
tomli==2.0.1
21+
typing_extensions==4.10.0
22+
wrapt==1.16.0
23+
yarl==1.9.4
24+
zipp==3.17.0
25+
-e opentelemetry-instrumentation
26+
-e util/opentelemetry-util-http
27+
-e instrumentation/opentelemetry-instrumentation-aiohttp-server

tox.ini

+3-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-server,httpx-{18,21},requests,urllib,urllib3v-{1,2}: pip install {toxinidir}/util/opentelemetry-util-http
348+
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

@@ -426,7 +426,7 @@ commands_pre =
426426

427427
aiohttp-client: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-client/test-requirements.txt
428428

429-
aiohttp-server: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-server[test]
429+
aiohttp-server: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-server/test-requirements.txt
430430

431431
aiopg: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg/test-requirements.txt
432432

@@ -584,8 +584,8 @@ commands_pre =
584584
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg[test]
585585
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg2[test]
586586
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-client/test-requirements.txt
587-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-server[test]
588587
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg/test-requirements.txt
588+
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-server/test-requirements.txt
589589
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlite3[test]
590590
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-pyramid/test-requirements.txt
591591
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-requests[test]

0 commit comments

Comments
 (0)