Skip to content

Commit

Permalink
Restrict looker-sdk version 24.18.0 and microsoft-kiota-http 1.3.4 (a…
Browse files Browse the repository at this point in the history
…pache#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
  • Loading branch information
gopidesupavan authored Oct 12, 2024
1 parent 15fc509 commit 7d8ea68
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@
"httpx>=0.25.0",
"immutabledict>=4.2.0",
"json-merge-patch>=0.2",
"looker-sdk>=22.4.0",
"looker-sdk>=22.4.0,!=24.18.0",
"pandas-gbq>=0.7.0",
"pandas>=1.5.3,<2.2;python_version<\"3.9\"",
"pandas>=2.1.2,<2.2;python_version>=\"3.9\"",
Expand Down Expand Up @@ -827,6 +827,7 @@
"azure-storage-file-share>=12.7.0",
"azure-synapse-artifacts>=0.17.0",
"azure-synapse-spark>=0.2.0",
"microsoft-kiota-http>=1.3.0,!=1.3.4",
"msgraph-core>=1.0.0"
],
"devel-deps": [
Expand Down
8 changes: 4 additions & 4 deletions providers/src/airflow/providers/amazon/aws/hooks/appflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ def update_flow_filter(self, flow_name: str, filter_tasks, set_trigger_ondemand:

self.conn.update_flow(
flowName=response["flowName"],
destinationFlowConfigList=response["destinationFlowConfigList"],
sourceFlowConfig=response["sourceFlowConfig"],
triggerConfig=response["triggerConfig"],
destinationFlowConfigList=response["destinationFlowConfigList"], # type: ignore[arg-type]
sourceFlowConfig=response["sourceFlowConfig"], # type: ignore[arg-type]
triggerConfig=response["triggerConfig"], # type: ignore[arg-type]
description=response.get("description", "Flow description."),
tasks=tasks,
tasks=tasks, # type: ignore[arg-type]
)
4 changes: 3 additions & 1 deletion providers/src/airflow/providers/google/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ dependencies:
- grpcio-gcp>=0.2.2
- httpx>=0.25.0
- json-merge-patch>=0.2
- looker-sdk>=22.4.0
# looker-sdk 24.18.0 has issues in import looker_sdk.rtl, No module named looker_sdk.rtl
# See https://github.com/looker-open-source/sdk-codegen/issues/1518
- looker-sdk>=22.4.0,!=24.18.0
- pandas-gbq>=0.7.0
# In pandas 2.2 minimal version of the sqlalchemy is 2.0
# https://pandas.pydata.org/docs/whatsnew/v2.2.0.html#increased-minimum-versions-for-dependencies
Expand Down
3 changes: 3 additions & 0 deletions providers/src/airflow/providers/microsoft/azure/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ dependencies:
- azure-mgmt-containerregistry>=8.0.0
- azure-mgmt-containerinstance>=10.1.0
- msgraph-core>=1.0.0
# 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

devel-dependencies:
- pywinrm
Expand Down

0 comments on commit 7d8ea68

Please sign in to comment.