This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-0-test by this push:
new a91a39169b1 [v3-0-test] Limit confluent-kafka temporarily to exclude
2.8.1 (#47204) (#47205)
a91a39169b1 is described below
commit a91a39169b144369b3fdcff96ab7a14de75aa11e
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Feb 28 11:40:29 2025 +0100
[v3-0-test] Limit confluent-kafka temporarily to exclude 2.8.1 (#47204)
(#47205)
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
(cherry picked from commit 76c7044ec0b83e6599351d516386342126d43390)
Co-authored-by: Jarek Potiuk <[email protected]>
---
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 f8986a4e260..a6bb49e2eff 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"],
}