Skip to content

Commit

Permalink
feat: upgrade google-* packages (#354)
Browse files Browse the repository at this point in the history
* remove all strong pins on google-* packages

* fix Pub/Sub client library calls following 2.x upgrade

* revert call updates

* revert removal of Pub/Sub patch in test suite
  • Loading branch information
lvaylet authored Oct 11, 2023
1 parent fb35d87 commit e18fe5d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,16 @@ datadog =
dynatrace =
requests
bigquery =
google-api-python-client <2
google-cloud-bigquery <3
google-api-python-client
google-cloud-bigquery
cloud_monitoring =
google-api-python-client <2
google-cloud-monitoring <3
google-api-python-client
google-cloud-monitoring
cloud_service_monitoring =
google-api-python-client <2
google-cloud-monitoring <3
google-api-python-client
google-cloud-monitoring
cloud_storage =
google-api-python-client <2
google-api-python-client
google-cloud-storage
elasticsearch =
elasticsearch
Expand All @@ -97,8 +97,8 @@ opensearch =
splunk =
splunk-sdk
pubsub =
google-api-python-client <2
google-cloud-pubsub <2
google-api-python-client
google-cloud-pubsub
cloudevent =
cloudevents
dev =
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@

# Pub/Sub methods to patch
PUBSUB_MOCKS = [
"google.cloud.pubsub_v1.gapic.publisher_client.PublisherClient.publish",
"google.cloud.pubsub_v1.PublisherClient.publish",
"google.cloud.pubsub_v1.publisher.futures.Future.result",
"google.api_core.grpc_helpers.create_channel",
]
Expand Down

0 comments on commit e18fe5d

Please sign in to comment.