Skip to content

Commit

Permalink
Fix incompatibility with google-cloud-monitoring 2.18.0 (#36200)
Browse files Browse the repository at this point in the history
Google cloud monitoring 2.18.0 released yesterday broke our tests.
Upgrading minimum version and fixing the tests shoudl fix the
problem.

(cherry picked from commit 4c73d61)
  • Loading branch information
potiuk committed Dec 15, 2023
1 parent d7d782d commit 108b305
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion airflow/providers/google/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ dependencies:
- google-cloud-language>=2.9.0
- google-cloud-logging>=3.5.0
- google-cloud-memcache>=1.7.0
- google-cloud-monitoring>=2.14.1
- google-cloud-monitoring>=2.18.0
- google-cloud-orchestration-airflow>=1.10.0
- google-cloud-os-login>=2.9.1
- google-cloud-pubsub>=2.19.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 @@ -440,7 +440,7 @@
"google-cloud-language>=2.9.0",
"google-cloud-logging>=3.5.0",
"google-cloud-memcache>=1.7.0",
"google-cloud-monitoring>=2.14.1",
"google-cloud-monitoring>=2.18.0",
"google-cloud-orchestration-airflow>=1.10.0",
"google-cloud-os-login>=2.9.1",
"google-cloud-pubsub>=2.19.0",
Expand Down
1 change: 1 addition & 0 deletions tests/providers/google/cloud/operators/test_stackdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ def test_execute(self, mock_hook):
"display_name": "",
"name": "test-name",
"notification_channels": [],
"severity": 0,
"user_labels": {},
}
] == result
Expand Down

0 comments on commit 108b305

Please sign in to comment.