Skip to content

Commit b1ec3be

Browse files
committed
Avoid 1.1.8 version of msgraph-core (apache#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. microsoftgraph/msgraph-sdk-python-core#781
1 parent b89bd5d commit b1ec3be

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

airflow/providers/microsoft/azure/provider.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ dependencies:
103103
- azure-mgmt-datafactory>=2.0.0
104104
- azure-mgmt-containerregistry>=8.0.0
105105
- azure-mgmt-containerinstance>=10.1.0
106-
- msgraph-core>=1.0.0
106+
# msgraph-core 1.1.8 has a bug which causes ABCMeta object is not subscriptable error
107+
# See https://github.com/microsoftgraph/msgraph-sdk-python-core/issues/781
108+
- msgraph-core>=1.0.0,!=1.1.8
107109
# microsoft-kiota-abstractions 1.4.0 breaks MyPy static checks on main
108110
# see https://github.com/apache/airflow/issues/43036
109111
- microsoft-kiota-abstractions<1.4.0

generated/provider_dependencies.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@
802802
"azure-synapse-artifacts>=0.17.0",
803803
"azure-synapse-spark>=0.2.0",
804804
"microsoft-kiota-abstractions<1.4.0",
805-
"msgraph-core>=1.0.0"
805+
"msgraph-core>=1.0.0,!=1.1.8"
806806
],
807807
"devel-deps": [
808808
"pywinrm"

0 commit comments

Comments
 (0)