Skip to content

Commit 4c73d61

Browse files
authored
Fix incompatibility with google-cloud-monitoring 2.18.0 (#36200)
Google cloud monitoring 2.18.0 released yesterday broke our tests. Upgrading minimum version and fixing the tests shoudl fix the problem.
1 parent 8fbacb8 commit 4c73d61

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

airflow/providers/google/provider.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ dependencies:
112112
- google-cloud-language>=2.9.0
113113
- google-cloud-logging>=3.5.0
114114
- google-cloud-memcache>=1.7.0
115-
- google-cloud-monitoring>=2.14.1
115+
- google-cloud-monitoring>=2.18.0
116116
- google-cloud-orchestration-airflow>=1.10.0
117117
- google-cloud-os-login>=2.9.1
118118
- google-cloud-pubsub>=2.19.0

generated/provider_dependencies.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@
451451
"google-cloud-language>=2.9.0",
452452
"google-cloud-logging>=3.5.0",
453453
"google-cloud-memcache>=1.7.0",
454-
"google-cloud-monitoring>=2.14.1",
454+
"google-cloud-monitoring>=2.18.0",
455455
"google-cloud-orchestration-airflow>=1.10.0",
456456
"google-cloud-os-login>=2.9.1",
457457
"google-cloud-pubsub>=2.19.0",

tests/providers/google/cloud/operators/test_stackdriver.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def test_execute(self, mock_hook):
112112
"display_name": "",
113113
"name": "test-name",
114114
"notification_channels": [],
115+
"severity": 0,
115116
"user_labels": {},
116117
}
117118
] == result

0 commit comments

Comments
 (0)