Skip to content

Commit

Permalink
Remove [test] package from cassandra instrumentation
Browse files Browse the repository at this point in the history
Fixes #2194
  • Loading branch information
ocelotl committed Feb 24, 2024
1 parent 8daa8ad commit 3a0e3ae
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ instruments = [
"cassandra-driver ~= 3.25",
"scylla-driver ~= 3.25",
]
test = [
"opentelemetry-instrumentation-cassandra[instruments]",
"opentelemetry-test-utils == 0.45b0.dev",
]

[project.entry-points.opentelemetry_instrumentor]
cassandra = "opentelemetry.instrumentation.cassandra:CassandraInstrumentor"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
asgiref==3.7.2
attrs==23.2.0
cassandra-driver==3.29.0
click==8.1.7
Deprecated==1.2.14
geomet==0.2.1.post1
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==23.2
pluggy==1.4.0
py==1.11.0
py-cpuinfo==9.0.0
pytest==7.1.3
pytest-benchmark==4.0.0
PyYAML==6.0.1
scylla-driver==3.26.6
six==1.16.0
tomli==2.0.1
typing_extensions==4.9.0
wrapt==1.16.0
zipp==3.17.0
-e ../../../opentelemetry-instrumentation
-e ../../../instrumentation/opentelemetry-instrumentation-cassandra
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ commands_pre =

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

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

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

Expand Down Expand Up @@ -549,7 +549,7 @@ commands_pre =
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-boto[test]
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-flask[test]
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlalchemy[test]
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-cassandra[test]
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-cassandra
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-celery[test]
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pika[test]
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aio-pika[test]
Expand Down

0 comments on commit 3a0e3ae

Please sign in to comment.