Skip to content

Commit 5552db2

Browse files
authored
Remove [test] package from asyncio instrumentation (#2248)
Fixes #2188
1 parent 1bf9f42 commit 5552db2

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

Diff for: instrumentation/opentelemetry-instrumentation-asyncio/pyproject.toml

-6
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@ dependencies = [
3333

3434
[project.optional-dependencies]
3535
instruments = []
36-
test = [
37-
"opentelemetry-instrumentation-asyncio[instruments]",
38-
"pytest",
39-
"wrapt >= 1.0.0, < 2.0.0",
40-
"pytest-asyncio",
41-
]
4236

4337
[project.entry-points.opentelemetry_instrumentor]
4438
asyncio = "opentelemetry.instrumentation.asyncio:AsyncioInstrumentor"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
asgiref==3.7.2
2+
attrs==23.2.0
3+
Deprecated==1.2.14
4+
importlib-metadata==6.11.0
5+
iniconfig==2.0.0
6+
packaging==23.2
7+
pluggy==1.4.0
8+
py==1.11.0
9+
py-cpuinfo==9.0.0
10+
pytest==7.1.3
11+
pytest-asyncio==0.23.5
12+
pytest-benchmark==4.0.0
13+
tomli==2.0.1
14+
typing_extensions==4.9.0
15+
wrapt==1.16.0
16+
zipp==3.17.0
17+
-e opentelemetry-instrumentation
18+
-e instrumentation/opentelemetry-instrumentation-asyncio

Diff for: tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ commands_pre =
422422

423423
elasticsearch-{2,5,6}: pip install {toxinidir}/opentelemetry-instrumentation[test] {toxinidir}/instrumentation/opentelemetry-instrumentation-elasticsearch[test]
424424

425-
asyncio: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncio[test]
425+
asyncio: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncio/test-requirements.txt
426426

427427
httpx-{18,21}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-httpx[test]
428428

@@ -586,7 +586,7 @@ commands_pre =
586586
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-httpx[test]
587587
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aws-lambda[test]
588588
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-system-metrics[test]
589-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncio[test]
589+
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncio/test-requirements.txt
590590
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-richconsole[test]
591591
# requires snappy headers to be available on the system
592592
python -m pip install -e {toxinidir}/sdk-extension/opentelemetry-sdk-extension-aws[test]

0 commit comments

Comments
 (0)