From fbd20cf150e2f2ba1adf7bc83e7fa534622aeeb7 Mon Sep 17 00:00:00 2001 From: rjduffner Date: Wed, 31 Jul 2024 14:22:14 -0700 Subject: [PATCH] Remove note because fastapi is changing implementation --- .../src/opentelemetry/instrumentation/kafka/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/instrumentation/opentelemetry-instrumentation-kafka-python/src/opentelemetry/instrumentation/kafka/__init__.py b/instrumentation/opentelemetry-instrumentation-kafka-python/src/opentelemetry/instrumentation/kafka/__init__.py index daa0e457fb..b29990d6e3 100644 --- a/instrumentation/opentelemetry-instrumentation-kafka-python/src/opentelemetry/instrumentation/kafka/__init__.py +++ b/instrumentation/opentelemetry-instrumentation-kafka-python/src/opentelemetry/instrumentation/kafka/__init__.py @@ -96,10 +96,6 @@ def instrumentation_dependencies(self) -> Collection[str]: # The latter is a fork of the former because the former is connected # to a pypi namespace that the current maintainers cannot access # https://github.com/dpkp/kafka-python/issues/2431 - # - # Unlike what fastapi does, we can't use find_spec here because - # the kafka-python-ng package and the kafka-python package both use the - # spec, "kafka" and not "kafka-python" or "kafka-python-ng" try: distribution("kafka-python-ng") return (_instruments_kafka_python_ng,)