GCP and protobuf requirement updates
LeData opened this issue · comments
Description
The client currently pins the protobuf library to version 3.15, which results in compatibility issues with google.storage clients.
Though there is no requirement problems, error messages result from importing the library:
Traceback (most recent call last):
File "xxx", line 10, in <module>
from google.cloud import storage
...
...
AttributeError: 'NoneType' object has no attribute 'message_types_by_name'
Environment
- TypeDB client-python version: 2.12.0
- Python version: 3.9
- Other environment details: google_cloud_storage = 2.6.0
Reproducible Steps
Steps to create the smallest reproducible scenario:
- build an environment with the typedb client and google_cloud_storage from above
- load
google.cloud.storage.
Expected Output
I expected the libraries to load without a problem, but it seems that this is a known issue with google and protobuf < 3.20.1
Actual Output
The error message from above
Additional information
Hi @LeData can you try the latest 2.12.1 release please?
That does the trick, thank you!
Excellent! Closing.