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 3310b8628e3 Avoid 1.1.8 version of msgraph-core (#45044)
3310b8628e3 is described below
commit 3310b8628e34578d16d2afbea3809ae422cd6d76
Author: Jarek Potiuk <[email protected]>
AuthorDate: Wed Dec 18 17:36:44 2024 +0100
Avoid 1.1.8 version of msgraph-core (#45044)
The 1.1.8 version of msgraph-core is buggy - importing some basic
classes causes import error "ABCMeta" is not subscriptable.
We are removing the version from azure provider dependencies hoping
that it will be fixed in the next version.
https://github.com/microsoftgraph/msgraph-sdk-python-core/issues/781
---
generated/provider_dependencies.json | 2 +-
providers/src/airflow/providers/microsoft/azure/provider.yaml | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/generated/provider_dependencies.json
b/generated/provider_dependencies.json
index 7a9307ade33..9a1e89cee5b 100644
--- a/generated/provider_dependencies.json
+++ b/generated/provider_dependencies.json
@@ -838,7 +838,7 @@
"microsoft-kiota-http>=1.3.0,!=1.3.4",
"microsoft-kiota-serialization-json==1.0.0",
"microsoft-kiota-serialization-text==1.0.0",
- "msgraph-core>=1.0.0"
+ "msgraph-core>=1.0.0,!=1.1.8"
],
"devel-deps": [
"pywinrm>=0.4"
diff --git a/providers/src/airflow/providers/microsoft/azure/provider.yaml
b/providers/src/airflow/providers/microsoft/azure/provider.yaml
index 5f42247ee20..f161c333147 100644
--- a/providers/src/airflow/providers/microsoft/azure/provider.yaml
+++ b/providers/src/airflow/providers/microsoft/azure/provider.yaml
@@ -109,7 +109,9 @@ dependencies:
- azure-mgmt-datafactory>=2.0.0
- azure-mgmt-containerregistry>=8.0.0
- azure-mgmt-containerinstance>=10.1.0
- - msgraph-core>=1.0.0
+ # msgraph-core 1.1.8 has a bug which causes ABCMeta object is not
subscriptable error
+ # See https://github.com/microsoftgraph/msgraph-sdk-python-core/issues/781
+ - msgraph-core>=1.0.0,!=1.1.8
# msgraph-core has transient import failures with microsoft-kiota-http==1.3.4
# See https://github.com/microsoftgraph/msgraph-sdk-python-core/issues/706
- microsoft-kiota-http>=1.3.0,!=1.3.4