Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4680f7c

Browse files
committedFeb 24, 2024
Remove [test] package from redis instrumentation
Fixes open-telemetry#2215
1 parent 1c21715 commit 4680f7c

File tree

3 files changed

+22
-7
lines changed

3 files changed

+22
-7
lines changed
 

‎instrumentation/opentelemetry-instrumentation-redis/pyproject.toml

-5
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ dependencies = [
3434
instruments = [
3535
"redis >= 2.6",
3636
]
37-
test = [
38-
"opentelemetry-instrumentation-redis[instruments]",
39-
"opentelemetry-sdk ~= 1.3",
40-
"opentelemetry-test-utils == 0.45b0.dev",
41-
]
4237

4338
[project.entry-points.opentelemetry_instrumentor]
4439
redis = "opentelemetry.instrumentation.redis:RedisInstrumentor"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
asgiref==3.7.2
2+
async-timeout==4.0.3
3+
attrs==23.2.0
4+
Deprecated==1.2.14
5+
importlib-metadata==6.11.0
6+
iniconfig==2.0.0
7+
packaging==23.2
8+
pluggy==1.4.0
9+
py==1.11.0
10+
py-cpuinfo==9.0.0
11+
pytest==7.1.3
12+
pytest-benchmark==4.0.0
13+
redis==5.0.1
14+
tomli==2.0.1
15+
typing_extensions==4.9.0
16+
wrapt==1.16.0
17+
zipp==3.17.0
18+
-e ../../../opentelemetry-instrumentation
19+
-e ../../../instrumentation/opentelemetry-instrumentation-dbapi
20+
-e ../../../instrumentation/opentelemetry-instrumentation-redis

‎tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ commands_pre =
433433

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

436-
redis: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-redis[test]
436+
redis: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-redis/test-requirements.txt
437437

438438
remoulade: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-remoulade[test]
439439

@@ -547,7 +547,7 @@ commands_pre =
547547
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pika[test]
548548
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-aio-pika[test]
549549
; python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-sklearn[test]
550-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-redis[test]
550+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-redis
551551
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-remoulade[test]
552552
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-fastapi[test]
553553
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-jinja2[test]

0 commit comments

Comments
 (0)