Skip to content

Commit 7d8ea68

Browse files
Restrict looker-sdk version 24.18.0 and microsoft-kiota-http 1.3.4 (#42954)
* restrict looker version 24.18.0 * update microsoft provider deps with microsoft-kiota-http * update gh issue ids to provider yaml files * ignore type in applfowhook * ignore type in applfowhook * ignore type in applfowhook
1 parent 15fc509 commit 7d8ea68

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

generated/provider_dependencies.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@
681681
"httpx>=0.25.0",
682682
"immutabledict>=4.2.0",
683683
"json-merge-patch>=0.2",
684-
"looker-sdk>=22.4.0",
684+
"looker-sdk>=22.4.0,!=24.18.0",
685685
"pandas-gbq>=0.7.0",
686686
"pandas>=1.5.3,<2.2;python_version<\"3.9\"",
687687
"pandas>=2.1.2,<2.2;python_version>=\"3.9\"",
@@ -827,6 +827,7 @@
827827
"azure-storage-file-share>=12.7.0",
828828
"azure-synapse-artifacts>=0.17.0",
829829
"azure-synapse-spark>=0.2.0",
830+
"microsoft-kiota-http>=1.3.0,!=1.3.4",
830831
"msgraph-core>=1.0.0"
831832
],
832833
"devel-deps": [

providers/src/airflow/providers/amazon/aws/hooks/appflow.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ def update_flow_filter(self, flow_name: str, filter_tasks, set_trigger_ondemand:
117117

118118
self.conn.update_flow(
119119
flowName=response["flowName"],
120-
destinationFlowConfigList=response["destinationFlowConfigList"],
121-
sourceFlowConfig=response["sourceFlowConfig"],
122-
triggerConfig=response["triggerConfig"],
120+
destinationFlowConfigList=response["destinationFlowConfigList"], # type: ignore[arg-type]
121+
sourceFlowConfig=response["sourceFlowConfig"], # type: ignore[arg-type]
122+
triggerConfig=response["triggerConfig"], # type: ignore[arg-type]
123123
description=response.get("description", "Flow description."),
124-
tasks=tasks,
124+
tasks=tasks, # type: ignore[arg-type]
125125
)

providers/src/airflow/providers/google/provider.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@ dependencies:
157157
- grpcio-gcp>=0.2.2
158158
- httpx>=0.25.0
159159
- json-merge-patch>=0.2
160-
- looker-sdk>=22.4.0
160+
# looker-sdk 24.18.0 has issues in import looker_sdk.rtl, No module named looker_sdk.rtl
161+
# See https://github.com/looker-open-source/sdk-codegen/issues/1518
162+
- looker-sdk>=22.4.0,!=24.18.0
161163
- pandas-gbq>=0.7.0
162164
# In pandas 2.2 minimal version of the sqlalchemy is 2.0
163165
# https://pandas.pydata.org/docs/whatsnew/v2.2.0.html#increased-minimum-versions-for-dependencies

providers/src/airflow/providers/microsoft/azure/provider.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ dependencies:
108108
- azure-mgmt-containerregistry>=8.0.0
109109
- azure-mgmt-containerinstance>=10.1.0
110110
- msgraph-core>=1.0.0
111+
# msgraph-core has transient import failures with microsoft-kiota-http==1.3.4
112+
# See https://github.com/microsoftgraph/msgraph-sdk-python-core/issues/706
113+
- microsoft-kiota-http>=1.3.0,!=1.3.4
111114

112115
devel-dependencies:
113116
- pywinrm

0 commit comments

Comments
 (0)