From becd77a5d118f49fa5bc188d1db9b7e5f623f184 Mon Sep 17 00:00:00 2001 From: wjddn279 Date: Wed, 6 May 2026 14:02:05 +0900 Subject: [PATCH 1/3] Fix Azure Batch provider import error by capping azure-batch<15 --- providers/microsoft/azure/docs/index.rst | 2 +- providers/microsoft/azure/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/microsoft/azure/docs/index.rst b/providers/microsoft/azure/docs/index.rst index 06fef1e3110f5..c86007b64f9cd 100644 --- a/providers/microsoft/azure/docs/index.rst +++ b/providers/microsoft/azure/docs/index.rst @@ -110,7 +110,7 @@ PIP package Version required ``apache-airflow`` ``>=2.11.0`` ``apache-airflow-providers-common-compat`` ``>=1.13.0`` ``adlfs`` ``>=2023.10.0`` -``azure-batch`` ``>=8.0.0`` +``azure-batch`` ``<15.0.0,>=8.0.0`` ``azure-cosmos`` ``>=4.6.0`` ``azure-mgmt-cosmosdb`` ``>=3.0.0`` ``azure-datalake-store`` ``>=0.0.45`` diff --git a/providers/microsoft/azure/pyproject.toml b/providers/microsoft/azure/pyproject.toml index 88246b03e34cc..385a658b3b86c 100644 --- a/providers/microsoft/azure/pyproject.toml +++ b/providers/microsoft/azure/pyproject.toml @@ -62,7 +62,7 @@ dependencies = [ "apache-airflow>=2.11.0", "apache-airflow-providers-common-compat>=1.13.0", "adlfs>=2023.10.0", - "azure-batch>=8.0.0", + "azure-batch>=8.0.0, <15.0.0", "azure-cosmos>=4.6.0", "azure-mgmt-cosmosdb>=3.0.0", "azure-datalake-store>=0.0.45", From 7d20be1817f8b32ea9495ebbe5a2a4a7cda92c49 Mon Sep 17 00:00:00 2001 From: wjddn279 Date: Wed, 6 May 2026 16:05:26 +0900 Subject: [PATCH 2/3] fix --- providers/microsoft/azure/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/microsoft/azure/pyproject.toml b/providers/microsoft/azure/pyproject.toml index 385a658b3b86c..861805abd92c1 100644 --- a/providers/microsoft/azure/pyproject.toml +++ b/providers/microsoft/azure/pyproject.toml @@ -62,7 +62,7 @@ dependencies = [ "apache-airflow>=2.11.0", "apache-airflow-providers-common-compat>=1.13.0", "adlfs>=2023.10.0", - "azure-batch>=8.0.0, <15.0.0", + "azure-batch>=8.0.0,<15.0.0", "azure-cosmos>=4.6.0", "azure-mgmt-cosmosdb>=3.0.0", "azure-datalake-store>=0.0.45", From 85f7361beee24350864a284f471e5f8205c51d74 Mon Sep 17 00:00:00 2001 From: wjddn279 Date: Wed, 6 May 2026 16:07:03 +0900 Subject: [PATCH 3/3] fix --- providers/microsoft/azure/pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/providers/microsoft/azure/pyproject.toml b/providers/microsoft/azure/pyproject.toml index 861805abd92c1..e7df3848d6fca 100644 --- a/providers/microsoft/azure/pyproject.toml +++ b/providers/microsoft/azure/pyproject.toml @@ -62,6 +62,8 @@ dependencies = [ "apache-airflow>=2.11.0", "apache-airflow-providers-common-compat>=1.13.0", "adlfs>=2023.10.0", + # azure-batch 15.x is a full rewrite of the Azure SDK (track 2) that removes BatchServiceClient, batch_auth, + # and the other references in AzureBatchHook. Lifting the upper bound cap needs a full hook rewrite. "azure-batch>=8.0.0,<15.0.0", "azure-cosmos>=4.6.0", "azure-mgmt-cosmosdb>=3.0.0",