Skip to content

Commit 2af9d26

Browse files
committed
Remove [test] package from asyncpg instrumentation
Fixes #2189
1 parent 46a8c59 commit 2af9d26

File tree

3 files changed

+22
-7
lines changed

3 files changed

+22
-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.45b0.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,19 @@
1+
asgiref==3.7.2
2+
async-timeout==4.0.3
3+
asyncpg==0.29.0
4+
attrs==23.2.0
5+
Deprecated==1.2.14
6+
importlib-metadata==6.11.0
7+
iniconfig==2.0.0
8+
packaging==23.2
9+
pluggy==1.4.0
10+
py==1.11.0
11+
py-cpuinfo==9.0.0
12+
pytest==7.1.3
13+
pytest-benchmark==4.0.0
14+
tomli==2.0.1
15+
typing_extensions==4.9.0
16+
wrapt==1.16.0
17+
zipp==3.17.0
18+
-e ../../../opentelemetry-instrumentation
19+
-e ../../../instrumentation/opentelemetry-instrumentation-asyncpg

tox.ini

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

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

342342
aws-lambda: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aws-lambda[test]
343343

@@ -575,7 +575,7 @@ commands_pre =
575575
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-mysqlclient[test]
576576
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pymongo[test]
577577
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-elasticsearch[test]
578-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncpg[test]
578+
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncpg/test-requirements.txt
579579
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-tornado[test]
580580
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-tortoiseorm[test]
581581
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-mysql[test]
@@ -599,7 +599,7 @@ basepython: python3
599599
deps =
600600
pip >= 20.3.3
601601
pytest
602-
asyncpg==0.27.0
602+
asyncpg==0.29.0
603603
docker-compose >= 1.25.2
604604
mysql-connector-python ~= 8.0
605605
pymongo >= 3.1, < 5.0

0 commit comments

Comments
 (0)