Skip to content

Commit

Permalink
Remove [test] package from tortoiseorm instrumentation
Browse files Browse the repository at this point in the history
Fixes #2224
  • Loading branch information
ocelotl committed Mar 13, 2024
1 parent 565e78d commit 540d401
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ instruments = [
"tortoise-orm >= 0.17.0",
"pydantic >= 1.10.2"
]
test = [
"opentelemetry-instrumentation-tortoiseorm[instruments]",
"opentelemetry-test-utils == 0.45b0.dev",
]

[project.entry-points.opentelemetry_instrumentor]
tortoiseorm = "opentelemetry.instrumentation.tortoiseorm:TortoiseORMInstrumentor"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
aiosqlite==0.17.0
annotated-types==0.6.0
asgiref==3.7.2
attrs==23.2.0
Deprecated==1.2.14
importlib-metadata==6.11.0
iniconfig==2.0.0
iso8601==1.1.0
packaging==23.2
pluggy==1.4.0
py==1.11.0
py-cpuinfo==9.0.0
pydantic==2.6.2
pydantic_core==2.16.3
pypika-tortoise==0.1.6
pytest==7.1.3
pytest-benchmark==4.0.0
pytz==2024.1
tomli==2.0.1
tortoise-orm==0.20.0
typing_extensions==4.9.0
wrapt==1.16.0
zipp==3.17.0
-e opentelemetry-instrumentation
-e instrumentation/opentelemetry-instrumentation-tortoiseorm
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ commands_pre =

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

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

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

Expand Down Expand Up @@ -577,7 +577,7 @@ commands_pre =
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-elasticsearch[test]
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncpg[test]
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-tornado[test]
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-tortoiseorm[test]
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-tortoiseorm/test-requirements.txt
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-mysql[test]
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-httpx[test]
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aws-lambda[test]
Expand Down

0 comments on commit 540d401

Please sign in to comment.