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 fc5d40c

Browse files
committedFeb 23, 2024
Remove [test] package from asyncpg instrumentation
Fixes open-telemetry#2189
1 parent 343d137 commit fc5d40c

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.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,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
@@ -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)
Please sign in to comment.