PubSub protobuf dependency requirements incorrect #6128
Labels
api: pubsub
Issues related to the Pub/Sub API.
packaging
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
I think the minimum version for the
protobuf
package dependency is not correct. google-cloud-python has the version requirements as protobuf>=3.0.0, but it fails to import when using version up to and including protobuf==3.3.0. I'm not sure what the exact correct version is, but the last version of google-cloud-pubsub to work with protobuf==3.3.0 is google-cloud-pubsub==0.35.4. I believe after this commit (371333a#diff-29280288794caf553b0b008084a0e854), a protobuf version >3.3.0 is required:Python version
Package versions:
Getting a stack track just importing pubsub (in ipython here)
Snipped the pubsub section from pipdeptree output showing the protobuf requirement is >=3.0.0:
The text was updated successfully, but these errors were encountered: