Skip to content

Commit 84d8df8

Browse files
eladkalAlok-kumar-priyadarshi
authored andcommitted
Support Python 3.13 in apache.kafka provider (apache#61434)
1 parent f5c8bb6 commit 84d8df8

4 files changed

Lines changed: 5 additions & 7 deletions

File tree

dev/breeze/tests/test_selective_checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,7 @@ def test_excluded_providers():
13211321
{
13221322
"excluded-providers-as-string": json.dumps(
13231323
{
1324-
"3.13": ["apache.beam", "apache.kafka", "fab", "ydb"],
1324+
"3.13": ["apache.beam", "fab", "ydb"],
13251325
}
13261326
),
13271327
},

providers/apache/kafka/provider.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ versions:
5656
- 1.1.0
5757
- 1.0.0
5858

59-
excluded-python-versions:
60-
# TODO(potiuk): check the status of confluent-kafka on Python 3.13
61-
- "3.13"
6259

6360
integrations:
6461
- integration-name: Apache Kafka

providers/apache/kafka/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ classifiers = [
4848
"Programming Language :: Python :: 3.10",
4949
"Programming Language :: Python :: 3.11",
5050
"Programming Language :: Python :: 3.12",
51+
"Programming Language :: Python :: 3.13",
5152
"Topic :: System :: Monitoring",
5253
]
53-
requires-python = ">=3.10,!=3.13"
54+
requires-python = ">=3.10"
5455

5556
# The dependencies should be modified in place in the generated file.
5657
# Any change in the dependencies is preserved when the file is regenerated

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ packages = []
133133
"apache-airflow-providers-apache-impala>=1.5.2"
134134
]
135135
"apache.kafka" = [
136-
"apache-airflow-providers-apache-kafka>=1.6.1; python_version !=\"3.13\""
136+
"apache-airflow-providers-apache-kafka>=1.6.1"
137137
]
138138
"apache.kylin" = [
139139
"apache-airflow-providers-apache-kylin>=3.8.0"
@@ -402,7 +402,7 @@ packages = []
402402
"apache-airflow-providers-apache-hive>=8.2.1",
403403
"apache-airflow-providers-apache-iceberg>=1.2.0",
404404
"apache-airflow-providers-apache-impala>=1.5.2",
405-
"apache-airflow-providers-apache-kafka>=1.6.1; python_version !=\"3.13\"",
405+
"apache-airflow-providers-apache-kafka>=1.6.1",
406406
"apache-airflow-providers-apache-kylin>=3.8.0",
407407
"apache-airflow-providers-apache-livy>=3.9.2",
408408
"apache-airflow-providers-apache-pig>=4.6.0",

0 commit comments

Comments
 (0)