Skip to content

Commit f322138

Browse files
committed
Remove [test] package from asyncpg instrumentation
Fixes #2189
1 parent 343d137 commit f322138

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

instrumentation/opentelemetry-instrumentation-asyncpg/pyproject.toml

-4
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ dependencies = [
3333
instruments = [
3434
"asyncpg >= 0.12.0",
3535
]
36-
test = [
37-
"opentelemetry-instrumentation-asyncpg[instruments]",
38-
"opentelemetry-test-utils == 0.44b0.dev",
39-
]
4036

4137
[project.entry-points.opentelemetry_instrumentor]
4238
asyncpg = "opentelemetry.instrumentation.asyncpg:AsyncPGInstrumentor"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
asyncpg==0.29.0
2+
-e ../../../opentelemetry-instrumentation
3+
-e ../../../instrumentation/opentelemetry-instrumentation-asyncpg

tox.ini

+3-3
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ commands_pre =
390390
wsgi,falcon-{1,2,3},flask-{213,220,300},django-{1,2,3,4},pyramid: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi[test]
391391
asgi,django-{3,4},starlette,fastapi: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi[test]
392392

393-
asyncpg: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncpg[test]
393+
asyncpg: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncpg/test-requirements.txt
394394

395395
aws-lambda: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aws-lambda[test]
396396

@@ -570,7 +570,7 @@ commands_pre =
570570
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-mysqlclient[test]
571571
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pymongo[test]
572572
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-elasticsearch[test]
573-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncpg[test]
573+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncpg
574574
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-tornado[test]
575575
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-tortoiseorm[test]
576576
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-mysql[test]
@@ -594,7 +594,7 @@ basepython: python3
594594
deps =
595595
pip >= 20.3.3
596596
pytest
597-
asyncpg==0.27.0
597+
asyncpg==0.29.0
598598
docker-compose >= 1.25.2
599599
mysql-connector-python ~= 8.0
600600
pymongo >= 3.1, < 5.0

0 commit comments

Comments
 (0)