Skip to content

Commit edb6dfb

Browse files
committed
Remove [test] package from sqlite3 instrumentation
Fixes open-telemetry#2220
1 parent 565e78d commit edb6dfb

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

instrumentation/opentelemetry-instrumentation-sqlite3/pyproject.toml

-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ dependencies = [
3131

3232
[project.optional-dependencies]
3333
instruments = []
34-
test = [
35-
"opentelemetry-test-utils == 0.45b0.dev",
36-
]
3734

3835
[project.entry-points.opentelemetry_instrumentor]
3936
sqlite3 = "opentelemetry.instrumentation.sqlite3:SQLite3Instrumentor"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
asgiref==3.7.2
2+
attrs==23.2.0
3+
Deprecated==1.2.14
4+
importlib-metadata==6.11.0
5+
iniconfig==2.0.0
6+
packaging==23.2
7+
pluggy==1.4.0
8+
py==1.11.0
9+
py-cpuinfo==9.0.0
10+
pytest==7.1.3
11+
pytest-benchmark==4.0.0
12+
tomli==2.0.1
13+
typing_extensions==4.9.0
14+
wrapt==1.16.0
15+
zipp==3.17.0
16+
-e opentelemetry-instrumentation
17+
-e instrumentation/opentelemetry-instrumentation-dbapi
18+
-e instrumentation/opentelemetry-instrumentation-sqlite3

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ commands_pre =
380380

381381
pyramid: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-pyramid[test]
382382

383-
sqlite3: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-dbapi {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlite3[test]
383+
sqlite3: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlite3/test-requirements.txt
384384

385385
redis: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-redis[test]
386386

@@ -564,7 +564,7 @@ commands_pre =
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]
566566
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg[test]
567-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlite3[test]
567+
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlite3/test-requirements.txt
568568
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pyramid[test]
569569
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-requests[test]
570570
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib[test]

0 commit comments

Comments
 (0)