Skip to content

Commit c54a9d1

Browse files
authored
Remove [test] package from aiopg instrumentation (#2243)
Fixes #2185
1 parent 5b4e5d8 commit c54a9d1

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
@@ -406,7 +406,7 @@ commands_pre =
406406

407407
aiohttp-server: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-server[test]
408408

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

411411
richconsole: pip install flaky {toxinidir}/exporter/opentelemetry-exporter-richconsole[test]
412412

@@ -563,7 +563,7 @@ commands_pre =
563563
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg2[test]
564564
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-client[test]
565565
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-server[test]
566-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg[test]
566+
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg/test-requirements.txt
567567
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlite3[test]
568568
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pyramid[test]
569569
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-requests[test]
@@ -597,7 +597,7 @@ commands =
597597
[testenv:docker-tests]
598598
basepython: python3
599599
deps =
600-
aiopg==1.1.0
600+
aiopg==1.4.0
601601
amqp==5.2.0
602602
asgiref==3.7.2
603603
async-timeout==4.0.3

0 commit comments

Comments
 (0)