This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 76c7044ec0b Limit confluent-kafka temporarily to exclude 2.8.1 (#47204)
76c7044ec0b is described below

commit 76c7044ec0b83e6599351d516386342126d43390
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Feb 28 11:38:01 2025 +0100

    Limit confluent-kafka temporarily to exclude 2.8.1 (#47204)
    
    Confluent kafka 2.8.1 has been released without binary wheels on 28 Feb 2025
    It's likely this will be fixed, but until it is, we need to exclude it
    S ee https://github.com/confluentinc/confluent-kafka-python/issues/1927
---
 generated/provider_dependencies.json                              | 2 +-
 providers/apache/kafka/README.rst                                 | 8 ++++----
 providers/apache/kafka/pyproject.toml                             | 5 ++++-
 .../kafka/src/airflow/providers/apache/kafka/get_provider_info.py | 2 +-
 4 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/generated/provider_dependencies.json 
b/generated/provider_dependencies.json
index 45b7eb26485..2d1cbdb47f9 100644
--- a/generated/provider_dependencies.json
+++ b/generated/provider_dependencies.json
@@ -218,7 +218,7 @@
     "deps": [
       "apache-airflow>=2.9.0",
       "asgiref>=2.3.0",
-      "confluent-kafka>=2.3.0"
+      "confluent-kafka>=2.3.0,!=2.8.1"
     ],
     "devel-deps": [],
     "plugins": [],
diff --git a/providers/apache/kafka/README.rst 
b/providers/apache/kafka/README.rst
index cfa6d23c9f7..98e182fcf0c 100644
--- a/providers/apache/kafka/README.rst
+++ b/providers/apache/kafka/README.rst
@@ -50,13 +50,13 @@ The package supports the following python versions: 
3.9,3.10,3.11,3.12
 Requirements
 ------------
 
-===================  ==================
+===================  ===================
 PIP package          Version required
-===================  ==================
+===================  ===================
 ``apache-airflow``   ``>=2.9.0``
 ``asgiref``          ``>=2.3.0``
-``confluent-kafka``  ``>=2.3.0``
-===================  ==================
+``confluent-kafka``  ``>=2.3.0,!=2.8.1``
+===================  ===================
 
 The changelog for the provider package can be found in the
 `changelog 
<https://airflow.apache.org/docs/apache-airflow-providers-apache-kafka/1.7.0/changelog.html>`_.
diff --git a/providers/apache/kafka/pyproject.toml 
b/providers/apache/kafka/pyproject.toml
index 12fe1c20aa4..735eb890eee 100644
--- a/providers/apache/kafka/pyproject.toml
+++ b/providers/apache/kafka/pyproject.toml
@@ -57,7 +57,10 @@ requires-python = "~=3.9"
 dependencies = [
     "apache-airflow>=2.9.0",
     "asgiref>=2.3.0",
-    "confluent-kafka>=2.3.0",
+    # Confluent kafka 2.8.1 has been released without binary wheels on 28 Feb 
2025
+    # It's likely this will be fixed, but until it is, we need to exclude it
+    # See https://github.com/confluentinc/confluent-kafka-python/issues/1927
+    "confluent-kafka>=2.3.0,!=2.8.1",
 ]
 
 [project.urls]
diff --git 
a/providers/apache/kafka/src/airflow/providers/apache/kafka/get_provider_info.py
 
b/providers/apache/kafka/src/airflow/providers/apache/kafka/get_provider_info.py
index f14d23b4ab2..4a9f0f08ffc 100644
--- 
a/providers/apache/kafka/src/airflow/providers/apache/kafka/get_provider_info.py
+++ 
b/providers/apache/kafka/src/airflow/providers/apache/kafka/get_provider_info.py
@@ -89,5 +89,5 @@ def get_provider_info():
                 "connection-type": "kafka",
             }
         ],
-        "dependencies": ["apache-airflow>=2.9.0", "asgiref>=2.3.0", 
"confluent-kafka>=2.3.0"],
+        "dependencies": ["apache-airflow>=2.9.0", "asgiref>=2.3.0", 
"confluent-kafka>=2.3.0,!=2.8.1"],
     }

Reply via email to