Skip to content

Commit

Permalink
Avoid 1.1.8 version of msgraph-core (apache#45044)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
potiuk committed Dec 18, 2024
1 parent b89bd5d commit b1ec3be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion airflow/providers/microsoft/azure/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,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
# microsoft-kiota-abstractions 1.4.0 breaks MyPy static checks on main
# see https://github.com/apache/airflow/issues/43036
- microsoft-kiota-abstractions<1.4.0
Expand Down
2 changes: 1 addition & 1 deletion generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@
"azure-synapse-artifacts>=0.17.0",
"azure-synapse-spark>=0.2.0",
"microsoft-kiota-abstractions<1.4.0",
"msgraph-core>=1.0.0"
"msgraph-core>=1.0.0,!=1.1.8"
],
"devel-deps": [
"pywinrm"
Expand Down

0 comments on commit b1ec3be

Please sign in to comment.