This is an automated email from the ASF dual-hosted git repository.
Lee-W 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 d7e7cd5d44e Fix Azure Batch provider import error by capping
azure-batch<15 (#66452)
d7e7cd5d44e is described below
commit d7e7cd5d44e00304ffe52d9fd04ef5b1a3c38aa0
Author: Jeongwoo Do <[email protected]>
AuthorDate: Wed May 6 17:59:59 2026 +0900
Fix Azure Batch provider import error by capping azure-batch<15 (#66452)
---
providers/microsoft/azure/docs/index.rst | 2 +-
providers/microsoft/azure/pyproject.toml | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/providers/microsoft/azure/docs/index.rst
b/providers/microsoft/azure/docs/index.rst
index 06fef1e3110..c86007b64f9 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 88246b03e34..e7df3848d6f 100644
--- a/providers/microsoft/azure/pyproject.toml
+++ b/providers/microsoft/azure/pyproject.toml
@@ -62,7 +62,9 @@ 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 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",
"azure-datalake-store>=0.0.45",