Skip to content

Commit ac6c86e

Browse files
committed
Remove [test] package from asyncio instrumentation
Fixes open-telemetry#2188
1 parent 1e0b11f commit ac6c86e

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

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

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ commands_pre =
418418

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

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

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

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

0 commit comments

Comments
 (0)