Skip to content

Commit 63c522e

Browse files
committed
Remove [test] package from aiopg instrumentation
Fixes #2185
1 parent 8daa8ad commit 63c522e

File tree

3 files changed

+25
-8
lines changed

3 files changed

+25
-8
lines changed

instrumentation/opentelemetry-instrumentation-aiopg/pyproject.toml

-5
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ dependencies = [
3434
instruments = [
3535
"aiopg >= 0.13.0, < 2.0.0",
3636
]
37-
test = [
38-
"opentelemetry-instrumentation-aiopg[instruments]",
39-
"opentelemetry-semantic-conventions == 0.45b0.dev",
40-
"opentelemetry-test-utils == 0.45b0.dev",
41-
]
4237

4338
[project.entry-points.opentelemetry_instrumentor]
4439
aiopg = "opentelemetry.instrumentation.aiopg:AiopgInstrumentor"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
aiopg==1.4.0
2+
asgiref==3.7.2
3+
async-timeout==4.0.3
4+
attrs==23.2.0
5+
Deprecated==1.2.14
6+
importlib-metadata==6.11.0
7+
iniconfig==2.0.0
8+
install==1.3.5
9+
packaging==23.2
10+
pluggy==1.4.0
11+
psycopg2-binary==2.9.9
12+
py==1.11.0
13+
py-cpuinfo==9.0.0
14+
pytest==7.1.3
15+
pytest-benchmark==4.0.0
16+
tomli==2.0.1
17+
typing_extensions==4.10.0
18+
wrapt==1.16.0
19+
zipp==3.17.0
20+
-e ../../../opentelemetry-instrumentation
21+
-e ../../../instrumentation/opentelemetry-instrumentation-dbapi
22+
-e ../../../instrumentation/opentelemetry-instrumentation-aiopg

tox.ini

+3-3
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ commands_pre =
464464

465465
aiohttp-server: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-server[test]
466466

467-
aiopg: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg[test]
467+
aiopg: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg/test-requirements.txt
468468

469469
richconsole: pip install flaky {toxinidir}/exporter/opentelemetry-exporter-richconsole[test]
470470

@@ -566,7 +566,7 @@ commands_pre =
566566
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg2[test]
567567
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-client[test]
568568
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-server[test]
569-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg[test]
569+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg
570570
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlite3[test]
571571
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pyramid[test]
572572
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-requests[test]
@@ -612,7 +612,7 @@ deps =
612612
# you might have to install additional packages depending on your OS
613613
psycopg ~= 3.1.17
614614
psycopg2 ~= 2.9.5
615-
aiopg >= 0.13.0, < 1.3.0
615+
aiopg==1.4.0
616616
sqlalchemy ~= 1.4
617617
redis ~= 4.3
618618
celery[pytest] >= 4.0, < 6.0

0 commit comments

Comments
 (0)