From c744255e2719527349e95c19d30f48805371bebf Mon Sep 17 00:00:00 2001 From: Harshal Sheth Date: Fri, 28 Feb 2025 09:49:17 -0800 Subject: [PATCH] chore(ci): avoid dep on confluent-kafka 2.8.1 See https://github.com/confluentinc/confluent-kafka-python/issues/1927 --- metadata-ingestion/setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/metadata-ingestion/setup.py b/metadata-ingestion/setup.py index d653f4da4f3876..d55960aa1750c2 100644 --- a/metadata-ingestion/setup.py +++ b/metadata-ingestion/setup.py @@ -77,7 +77,10 @@ # now provide prebuilt wheels for most platforms, including M1 Macs and # Linux aarch64 (e.g. Docker's linux/arm64). Installing confluent_kafka # from source remains a pain. - "confluent_kafka[schemaregistry,avro]>=1.9.0", + # With the release of 2.8.1, confluent-kafka only released a source distribution, + # and no prebuilt wheels. + # See https://github.com/confluentinc/confluent-kafka-python/issues/1927 + "confluent_kafka[schemaregistry,avro]>=1.9.0, != 2.8.1", # We currently require both Avro libraries. The codegen uses avro-python3 (above) # schema parsers at runtime for generating and reading JSON into Python objects. # At the same time, we use Kafka's AvroSerializer, which internally relies on