Skip to content

Commit e4059db

Browse files
committed
Remove [test] package from tortoiseorm instrumentation
Fixes open-telemetry#2224
1 parent 1c21715 commit e4059db

File tree

3 files changed

+27
-6
lines changed

3 files changed

+27
-6
lines changed

instrumentation/opentelemetry-instrumentation-tortoiseorm/pyproject.toml

-4
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ instruments = [
3434
"tortoise-orm >= 0.17.0",
3535
"pydantic >= 1.10.2"
3636
]
37-
test = [
38-
"opentelemetry-instrumentation-tortoiseorm[instruments]",
39-
"opentelemetry-test-utils == 0.45b0.dev",
40-
]
4137

4238
[project.entry-points.opentelemetry_instrumentor]
4339
tortoiseorm = "opentelemetry.instrumentation.tortoiseorm:TortoiseORMInstrumentor"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
aiosqlite==0.17.0
2+
annotated-types==0.6.0
3+
asgiref==3.7.2
4+
attrs==23.2.0
5+
Deprecated==1.2.14
6+
importlib-metadata==6.11.0
7+
iniconfig==2.0.0
8+
iso8601==1.1.0
9+
packaging==23.2
10+
pluggy==1.4.0
11+
py==1.11.0
12+
py-cpuinfo==9.0.0
13+
pydantic==2.6.2
14+
pydantic_core==2.16.3
15+
pypika-tortoise==0.1.6
16+
pytest==7.1.3
17+
pytest-benchmark==4.0.0
18+
pytz==2024.1
19+
tomli==2.0.1
20+
tortoise-orm==0.20.0
21+
typing_extensions==4.9.0
22+
wrapt==1.16.0
23+
zipp==3.17.0
24+
-e ../../../opentelemetry-instrumentation
25+
-e ../../../instrumentation/opentelemetry-instrumentation-tortoiseorm

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ commands_pre =
445445

446446
tornado: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-tornado[test]
447447

448-
tortoiseorm: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-tortoiseorm[test]
448+
tortoiseorm: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-tortoiseorm/test-requirements.txt
449449

450450
jinja2: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-jinja2[test]
451451

@@ -572,7 +572,7 @@ commands_pre =
572572
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-elasticsearch[test]
573573
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncpg[test]
574574
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-tornado[test]
575-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-tortoiseorm[test]
575+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-tortoiseorm
576576
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-mysql[test]
577577
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-httpx[test]
578578
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aws-lambda[test]

0 commit comments

Comments
 (0)