Skip to content
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
@LeData

Description

@LeData

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

  1. TypeDB client-python version: 2.12.0
  2. Python version: 3.9
  3. Other environment details: google_cloud_storage = 2.6.0

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. build an environment with the typedb client and google_cloud_storage from above
  2. 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

googleapis/python-iam#185

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions