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 32e414d9c10 Support Python 3.13 in apache beam provider (#61978)
32e414d9c10 is described below
commit 32e414d9c10632c8d297b8326296aabe37e0410a
Author: Akshay <[email protected]>
AuthorDate: Tue Feb 17 04:58:45 2026 +0530
Support Python 3.13 in apache beam provider (#61978)
* Support Python 3.13 in apache.beam provider
* Update Google provider beam optional dep for Python 3.13
---------
Co-authored-by: Akshay <[email protected]>
---
dev/breeze/tests/test_selective_checks.py | 2 +-
providers/apache/beam/docs/index.rst | 6 +++---
providers/apache/beam/provider.yaml | 3 ---
providers/apache/beam/pyproject.toml | 11 ++++++-----
providers/google/pyproject.toml | 2 +-
pyproject.toml | 4 ++--
6 files changed, 13 insertions(+), 15 deletions(-)
diff --git a/dev/breeze/tests/test_selective_checks.py
b/dev/breeze/tests/test_selective_checks.py
index 57b5340292e..bc5bb943a79 100644
--- a/dev/breeze/tests/test_selective_checks.py
+++ b/dev/breeze/tests/test_selective_checks.py
@@ -1318,7 +1318,7 @@ def test_excluded_providers():
{
"excluded-providers-as-string": json.dumps(
{
- "3.13": ["apache.beam", "fab"],
+ "3.13": ["fab"],
}
),
},
diff --git a/providers/apache/beam/docs/index.rst
b/providers/apache/beam/docs/index.rst
index 0a84fe504a1..34eb0d1c903 100644
--- a/providers/apache/beam/docs/index.rst
+++ b/providers/apache/beam/docs/index.rst
@@ -100,11 +100,11 @@ PIP package Version
required
==========================================
==================================================================
``apache-airflow`` ``>=2.11.0``
``apache-airflow-providers-common-compat`` ``>=1.12.0``
-``apache-beam`` ``>=2.60.0; python_version <
"3.13"``
-``pyarrow`` ``>=16.1.0; python_version <
"3.13"``
+``apache-beam`` ``>=2.69.0``
+``pyarrow`` ``>=16.1.0``
``numpy`` ``>=1.22.4; python_version <
"3.11"``
``numpy`` ``>=1.23.2; python_version <
"3.12" and python_version >= "3.11"``
-``numpy`` ``>=1.26.0; python_version >=
"3.12" and python_version < "3.13"``
+``numpy`` ``>=1.26.0; python_version >=
"3.12"``
==========================================
==================================================================
Cross provider package dependencies
diff --git a/providers/apache/beam/provider.yaml
b/providers/apache/beam/provider.yaml
index 05f176d20e0..649f81f4af8 100644
--- a/providers/apache/beam/provider.yaml
+++ b/providers/apache/beam/provider.yaml
@@ -80,9 +80,6 @@ versions:
- 1.0.1
- 1.0.0
-excluded-python-versions:
- - "3.13"
-
integrations:
- integration-name: Apache Beam
external-doc-url: https://beam.apache.org/
diff --git a/providers/apache/beam/pyproject.toml
b/providers/apache/beam/pyproject.toml
index 3e8ceeaa050..763acc8e143 100644
--- a/providers/apache/beam/pyproject.toml
+++ b/providers/apache/beam/pyproject.toml
@@ -48,9 +48,10 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
+ "Programming Language :: Python :: 3.13",
"Topic :: System :: Monitoring",
]
-requires-python = ">=3.10,!=3.13"
+requires-python = ">=3.10"
# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
@@ -59,18 +60,18 @@ requires-python = ">=3.10,!=3.13"
dependencies = [
"apache-airflow>=2.11.0",
"apache-airflow-providers-common-compat>=1.12.0",
- 'apache-beam>=2.60.0; python_version < "3.13"',
- "pyarrow>=16.1.0; python_version < '3.13'",
+ "apache-beam>=2.69.0",
+ "pyarrow>=16.1.0",
"numpy>=1.22.4; python_version<'3.11'",
"numpy>=1.23.2; python_version<'3.12' and python_version>='3.11'",
- "numpy>=1.26.0; python_version>='3.12' and python_version < '3.13'",
+ "numpy>=1.26.0; python_version>='3.12'",
]
# The optional dependencies should be modified in place in the generated file
# Any change in the dependencies is preserved when the file is regenerated
[project.optional-dependencies]
"google" = [
- 'apache-beam[gcp]>=2.60.0; python_version < "3.13"',
+ "apache-beam[gcp]>=2.69.0",
]
[dependency-groups]
diff --git a/providers/google/pyproject.toml b/providers/google/pyproject.toml
index 89e47d09230..f274638b566 100644
--- a/providers/google/pyproject.toml
+++ b/providers/google/pyproject.toml
@@ -150,7 +150,7 @@ dependencies = [
[project.optional-dependencies]
"apache.beam" = [
'apache-beam[gcp]>=2.53.0; python_version < "3.12"',
- 'apache-beam[gcp]>=2.57.0; python_version >= "3.12" and python_version <
"3.13"',
+ 'apache-beam[gcp]>=2.57.0; python_version >= "3.12"',
]
"cncf.kubernetes" = [
"apache-airflow-providers-cncf-kubernetes>=10.1.0",
diff --git a/pyproject.toml b/pyproject.toml
index 959ab2e07e0..9d17b7172c3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -106,7 +106,7 @@ packages = []
"apache-airflow-providers-amazon>=9.0.0"
]
"apache.beam" = [
- "apache-airflow-providers-apache-beam>=5.8.1; python_version !=\"3.13\""
+ "apache-airflow-providers-apache-beam>=5.8.1"
]
"apache.cassandra" = [
"apache-airflow-providers-apache-cassandra>=3.7.0"
@@ -399,7 +399,7 @@ packages = []
"apache-airflow-providers-airbyte>=5.0.0",
"apache-airflow-providers-alibaba>=3.0.0",
"apache-airflow-providers-amazon>=9.0.0",
- "apache-airflow-providers-apache-beam>=5.8.1; python_version !=\"3.13\"",
+ "apache-airflow-providers-apache-beam>=5.8.1",
"apache-airflow-providers-apache-cassandra>=3.7.0",
"apache-airflow-providers-apache-drill>=2.8.1",
"apache-airflow-providers-apache-druid>=3.12.0",