Skip to content

Commit 1d8ee89

Browse files
committed
Remove [test] package from kafka-python instrumentation
Fixes #2205
1 parent 8daa8ad commit 1d8ee89

File tree

3 files changed

+20
-7
lines changed

3 files changed

+20
-7
lines changed

instrumentation/opentelemetry-instrumentation-kafka-python/pyproject.toml

-5
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ dependencies = [
3333
instruments = [
3434
"kafka-python >= 2.0",
3535
]
36-
test = [
37-
"opentelemetry-instrumentation-kafka-python[instruments]",
38-
"opentelemetry-test-utils == 0.45b0.dev",
39-
"wrapt >= 1.0.0, < 2.0.0",
40-
]
4136

4237
[project.entry-points.opentelemetry_instrumentor]
4338
kafka = "opentelemetry.instrumentation.kafka:KafkaInstrumentor"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
asgiref==3.7.2
2+
attrs==23.2.0
3+
Deprecated==1.2.14
4+
importlib-metadata==6.11.0
5+
iniconfig==2.0.0
6+
kafka-python==2.0.2
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+
tomli==2.0.1
14+
typing_extensions==4.9.0
15+
wrapt==1.16.0
16+
zipp==3.17.0
17+
-e ../../../opentelemetry-instrumentation
18+
-e ../../../instrumentation/opentelemetry-instrumentation-kafka-python

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ commands_pre =
385385

386386
aio-pika-{8,9}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-aio-pika[test]
387387

388-
kafka-python: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-kafka-python[test]
388+
kafka-python: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-kafka-python/test-requirements.txt
389389

390390
confluent-kafka: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-confluent-kafka[test]
391391

@@ -558,7 +558,7 @@ commands_pre =
558558
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-remoulade[test]
559559
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-fastapi[test]
560560
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-jinja2[test]
561-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-kafka-python[test]
561+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-kafka-python
562562
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-confluent-kafka[test]
563563
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-logging[test]
564564
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pymemcache[test]

0 commit comments

Comments
 (0)