Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -1283,11 +1283,8 @@ COPY . ${AIRFLOW_SOURCES}/
# Those are additional constraints that are needed for some extras but we do not want to
# force them on the main Airflow package. Currently we need no extra limits as PIP 23.1+ has much better
# dependency resolution and we do not need to limit the versions of the dependencies
# The `confluent-kafka==2.8.1` currently breaks installation of kafka provider from PyPI
# So we need to add limit here to get our constraints generation for PyPI packages work
# This can be removed when https://github.com/confluentinc/confluent-kafka-python/issues/1927 is solved
#
ARG EAGER_UPGRADE_ADDITIONAL_REQUIREMENTS="confluent-kafka!=2.8.1"
ARG EAGER_UPGRADE_ADDITIONAL_REQUIREMENTS=""
ARG UPGRADE_INVALIDATION_STRING=""
ARG VERSION_SUFFIX_FOR_PYPI=""

Expand Down
2 changes: 1 addition & 1 deletion generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
"deps": [
"apache-airflow>=2.9.0",
"asgiref>=2.3.0",
"confluent-kafka>=2.3.0,!=2.8.1"
"confluent-kafka>=2.3.0"
],
"devel-deps": [],
"plugins": [],
Expand Down
8 changes: 4 additions & 4 deletions providers/apache/kafka/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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,!=2.8.1``
=================== ===================
``confluent-kafka`` ``>=2.3.0``
=================== ==================

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>`_.
5 changes: 1 addition & 4 deletions providers/apache/kafka/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ requires-python = "~=3.9"
dependencies = [
"apache-airflow>=2.9.0",
"asgiref>=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",
"confluent-kafka>=2.3.0",
]

[project.urls]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,!=2.8.1"],
"dependencies": ["apache-airflow>=2.9.0", "asgiref>=2.3.0", "confluent-kafka>=2.3.0"],
}