Skip to content

Commit 3e09189

Browse files
committed
Remove [test] package from tortoiseorm instrumentation
Fixes #2224
1 parent 1e0b11f commit 3e09189

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
@@ -394,7 +394,7 @@ commands_pre =
394394

395395
tornado: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-tornado[test]
396396

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

399399
jinja2: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-jinja2[test]
400400

@@ -577,7 +577,7 @@ commands_pre =
577577
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-elasticsearch[test]
578578
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncpg[test]
579579
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-tornado[test]
580-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-tortoiseorm[test]
580+
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-tortoiseorm/test-requirements.txt
581581
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-mysql[test]
582582
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-httpx[test]
583583
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aws-lambda[test]

0 commit comments

Comments
 (0)