This repository was archived by the owner on Oct 9, 2023. It is now read-only.
This repository was archived by the owner on Oct 9, 2023. It is now read-only.
GCP and protobuf requirement updates #270
Closed
Description
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