Skip to content

Commit 3bb87b6

Browse files
committed
Remove [test] package from confluent-kafka instrumentation
Fixes open-telemetry#2196
1 parent 8daa8ad commit 3bb87b6

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

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

-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ dependencies = [
2929
instruments = [
3030
"confluent-kafka >= 1.8.2, <= 2.3.0",
3131
]
32-
test = [
33-
"opentelemetry-instrumentation-confluent-kafka[instruments]",
34-
]
3532

3633
[project.entry-points.opentelemetry_instrumentor]
3734
confluent_kafka = "opentelemetry.instrumentation.confluent_kafka:ConfluentKafkaInstrumentor"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
asgiref==3.7.2
2+
attrs==23.2.0
3+
confluent-kafka==2.3.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+
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-confluent-kafka

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ commands_pre =
387387

388388
kafka-python: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-kafka-python[test]
389389

390-
confluent-kafka: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-confluent-kafka[test]
390+
confluent-kafka: pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-confluent-kafka/test-requirements.txt
391391

392392
grpc: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc[test]
393393

@@ -559,7 +559,7 @@ commands_pre =
559559
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-fastapi[test]
560560
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-jinja2[test]
561561
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-kafka-python[test]
562-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-confluent-kafka[test]
562+
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-confluent-kafka
563563
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-logging[test]
564564
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pymemcache[test]
565565
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg[test]

0 commit comments

Comments
 (0)