This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v2-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v2-10-test by this push:
new 4c60a014e99 Avoid 1.1.8 version of msgraph-core (#45044) (#45063)
4c60a014e99 is described below
commit 4c60a014e99e0fb1b73b02b5b85df27159cb9804
Author: Jarek Potiuk <[email protected]>
AuthorDate: Thu Dec 19 09:44:31 2024 +0100
Avoid 1.1.8 version of msgraph-core (#45044) (#45063)
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
---
airflow/providers/microsoft/azure/provider.yaml | 4 +++-
generated/provider_dependencies.json | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/airflow/providers/microsoft/azure/provider.yaml
b/airflow/providers/microsoft/azure/provider.yaml
index df19d922df2..60bd1d7aa5f 100644
--- a/airflow/providers/microsoft/azure/provider.yaml
+++ b/airflow/providers/microsoft/azure/provider.yaml
@@ -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
diff --git a/generated/provider_dependencies.json
b/generated/provider_dependencies.json
index 111d6f0b7c9..1edf8dc5c13 100644
--- a/generated/provider_dependencies.json
+++ b/generated/provider_dependencies.json
@@ -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"