Skip to content

Commit 82d2db7

Browse files
committed
Remove [test] package from psycopg instrumentation
Fixes open-telemetry#2308
1 parent 8daa8ad commit 82d2db7

File tree

3 files changed

+21
-6
lines changed

3 files changed

+21
-6
lines changed

instrumentation/opentelemetry-instrumentation-psycopg/pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ dependencies = [
3434
instruments = [
3535
"psycopg >= 3.1.0",
3636
]
37-
test = [
38-
"opentelemetry-instrumentation-psycopg[instruments]",
39-
"opentelemetry-test-utils == 0.45b0.dev",
40-
]
4137

4238
[project.entry-points.opentelemetry_instrumentor]
4339
psycopg = "opentelemetry.instrumentation.psycopg:PsycopgInstrumentor"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
asgiref==3.7.2
2+
attrs==23.2.0
3+
backports.zoneinfo==0.2.1
4+
Deprecated==1.2.14
5+
importlib-metadata==6.11.0
6+
iniconfig==2.0.0
7+
packaging==23.2
8+
pluggy==1.4.0
9+
psycopg==3.1.18
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.10.0
16+
wrapt==1.16.0
17+
zipp==3.17.0
18+
-e ../../../opentelemetry-instrumentation
19+
-e ../../../instrumentation/opentelemetry-instrumentation-psycopg

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ commands_pre =
430430

431431
pymongo: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-pymongo[test]
432432

433-
psycopg: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg[test]
433+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg
434434

435435
psycopg2: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg2[test]
436436

@@ -562,7 +562,7 @@ commands_pre =
562562
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-confluent-kafka[test]
563563
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-logging[test]
564564
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pymemcache[test]
565-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg[test]
565+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg
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]

0 commit comments

Comments
 (0)