Skip to content

Commit fe5bf14

Browse files
committed
Remove [test] package from confluent-kafka instrumentation
Fixes open-telemetry#2196
1 parent 565e78d commit fe5bf14

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ classifiers = [
2121
"Programming Language :: Python :: 3.8",
2222
]
2323
dependencies = [
24+
"opentelemetry-instrumentation == 0.45b0.dev",
2425
"opentelemetry-api ~= 1.12",
2526
"wrapt >= 1.0.0, < 2.0.0",
2627
]
@@ -29,9 +30,6 @@ dependencies = [
2930
instruments = [
3031
"confluent-kafka >= 1.8.2, <= 2.3.0",
3132
]
32-
test = [
33-
"opentelemetry-instrumentation-confluent-kafka[instruments]",
34-
]
3533

3634
[project.entry-points.opentelemetry_instrumentor]
3735
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
@@ -329,7 +329,7 @@ commands_pre =
329329

330330
kafka-python: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-kafka-python[test]
331331

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

334334
grpc: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc[test]
335335

@@ -556,7 +556,7 @@ commands_pre =
556556
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-fastapi[test]
557557
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-jinja2[test]
558558
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-kafka-python[test]
559-
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-confluent-kafka[test]
559+
pip install -r {toxinidir}/instrumentation/opentelemetry-instrumentation-confluent-kafka/test-requirements.txt
560560
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-logging[test]
561561
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-pymemcache[test]
562562
python -m pip install -e {toxinidir}/instrumentation/opentelemetry-instrumentation-psycopg[test]

0 commit comments

Comments
 (0)