Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 10802ef

Browse files
committedFeb 23, 2024
Remove [test] package from asyncio instrumentation
Fixes open-telemetry#2188
1 parent 343d137 commit 10802ef

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
@@ -469,7 +469,7 @@ commands_pre =
469469

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

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

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

@@ -577,7 +577,7 @@ commands_pre =
577577
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-httpx[test]
578578
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aws-lambda[test]
579579
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-system-metrics[test]
580-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncio[test]
580+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncio
581581
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-richconsole[test]
582582
# requires snappy headers to be available on the system
583583
python -m pip install -e {toxinidir}/sdk-extension/opentelemetry-sdk-extension-aws[test]

0 commit comments

Comments
 (0)
Please sign in to comment.