Skip to content

Commit 37a1e9d

Browse files
committed
Remove [test] package from asgi instrumentation
Fixes open-telemetry#2187
1 parent 2518a4a commit 37a1e9d

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

instrumentation/opentelemetry-instrumentation-asgi/pyproject.toml

-4
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ dependencies = [
3535
instruments = [
3636
"asgiref ~= 3.0",
3737
]
38-
test = [
39-
"opentelemetry-instrumentation-asgi[instruments]",
40-
"opentelemetry-test-utils == 0.44b0.dev",
41-
]
4238

4339
[project.urls]
4440
Homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-asgi"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
aiopg==1.4.0
2+
-e ../../../opentelemetry-instrumentation
3+
-e ../../../util/opentelemetry-util-http

tox.ini

+5-3
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,8 @@ commands_pre =
374374

375375
distro: pip install {toxinidir}/opentelemetry-distro
376376

377+
asgi: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi/test-requirements.txt
378+
377379
celery: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-celery[test]
378380

379381
sio-pika-{0,1}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-pika[test]
@@ -386,9 +388,9 @@ commands_pre =
386388

387389
grpc: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc[test]
388390

389-
falcon-{1,2,3},flask-{213,220,300},django-{1,2,3,4},pyramid,tornado,starlette,fastapi,aiohttp,asgi,httpx-{18,21},requests,urllib,urllib3v-{1,2},wsgi: pip install {toxinidir}/util/opentelemetry-util-http
391+
falcon-{1,2,3},flask-{213,220,300},django-{1,2,3,4},pyramid,tornado,starlette,fastapi,aiohttp,httpx-{18,21},requests,urllib,urllib3v-{1,2},wsgi: pip install {toxinidir}/util/opentelemetry-util-http
390392
wsgi,falcon-{1,2,3},flask-{213,220,300},django-{1,2,3,4},pyramid: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi[test]
391-
asgi,django-{3,4},starlette,fastapi: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi[test]
393+
django-{3,4},starlette,fastapi: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi
392394

393395
asyncpg: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncpg[test]
394396

@@ -532,7 +534,7 @@ commands_pre =
532534
python -m pip install -e {toxinidir}/opentelemetry-instrumentation[test]
533535
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi[test]
534536
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi[test]
535-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi[test]
537+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi
536538
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-botocore[test]
537539
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-boto3sqs[test]
538540
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-django[test]

0 commit comments

Comments
 (0)