Skip to content

Commit 8ef4fa5

Browse files
committed
Remove [test] package from sqlite3 instrumentation
Fixes open-telemetry#2220
1 parent 1c21715 commit 8ef4fa5

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
@@ -431,7 +431,7 @@ commands_pre =
431431

432432
pyramid: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-pyramid[test]
433433

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

436436
redis: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-redis[test]
437437

@@ -559,7 +559,7 @@ commands_pre =
559559
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-client[test]
560560
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiohttp-server[test]
561561
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aiopg[test]
562-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlite3[test]
562+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlite3
563563
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pyramid[test]
564564
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-requests[test]
565565
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib[test]

0 commit comments

Comments
 (0)