-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
api: bigtableIssues related to the Bigtable API.Issues related to the Bigtable API.api: containerIssues related to the Kubernetes Engine API API.Issues related to the Kubernetes Engine API API.packagingpriority: p0Highest priority. Critical issue. P0 implies highest priority.Highest priority. Critical issue. P0 implies highest priority.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Today's google-cloud-pubsub 0.44 release is broken, as it appears to depend on an as-yet-unreleased version of google.iam.v1. If you attempt to use it with the current release version of that library, the diagnostic failure is:
from google.cloud import pubsub
File "/Users/zunger/src/code/venv/lib/python3.7/site-packages/google/cloud/pubsub.py", line 20, in <module>
from google.cloud.pubsub_v1 import PublisherClient
File "/Users/zunger/src/code/venv/lib/python3.7/site-packages/google/cloud/pubsub_v1/__init__.py", line 18, in <module>
from google.cloud.pubsub_v1 import publisher
File "/Users/zunger/src/code/venv/lib/python3.7/site-packages/google/cloud/pubsub_v1/publisher/__init__.py", line 17, in <module>
from google.cloud.pubsub_v1.publisher.client import Client
File "/Users/zunger/src/code/venv/lib/python3.7/site-packages/google/cloud/pubsub_v1/publisher/client.py", line 29, in <module>
from google.cloud.pubsub_v1.gapic import publisher_client
File "/Users/zunger/src/code/venv/lib/python3.7/site-packages/google/cloud/pubsub_v1/gapic/publisher_client.py", line 39, in <module>
from google.cloud.pubsub_v1.gapic.transports import publisher_grpc_transport
File "/Users/zunger/src/code/venv/lib/python3.7/site-packages/google/cloud/pubsub_v1/gapic/transports/publisher_grpc_transport.py", line 21, in <module>
from google.iam.v1 import iam_policy_pb2_grpc as iam_policy_pb2_grpc
ImportError: cannot import name 'iam_policy_pb2_grpc' from 'google.iam.v1' (/Users/zunger/src/code/venv/lib/python3.7/site-packages/google/iam/v1/__init__.py)
Version 0.44 should probably be unpublished until a compatible IAM library is released.
Metadata
Metadata
Assignees
Labels
api: bigtableIssues related to the Bigtable API.Issues related to the Bigtable API.api: containerIssues related to the Kubernetes Engine API API.Issues related to the Kubernetes Engine API API.packagingpriority: p0Highest priority. Critical issue. P0 implies highest priority.Highest priority. Critical issue. P0 implies highest priority.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.