googleapis/python-datastore

The build failed

flaky-bot opened this issue · 1 comments

This test failed!

To configure my behavior, see the Flaky Bot documentation.

If I'm commenting on this issue too often, add the flakybot: quiet label and
I will stop commenting.


commit: b9e9cec
buildURL: Build Status, Sponge
status: failed

Test output
tests/unit/test__gapic.py:18: in 
    from google.cloud.datastore.client import _HAVE_GRPC
google/cloud/datastore/__init__.py:59: in 
    from google.cloud.datastore.batch import Batch
google/cloud/datastore/batch.py:24: in 
    from google.cloud.datastore import helpers
google/cloud/datastore/helpers.py:31: in 
    from google.cloud.datastore.key import Key
google/cloud/datastore/key.py:23: in 
    from google.cloud.datastore import _app_engine_key_pb2
google/cloud/datastore/_app_engine_key_pb2.py:36: in 
    _descriptor.FieldDescriptor(
.nox/unit-3-10/lib/python3.10/site-packages/google/protobuf/descriptor.py:560: in __new__
    _message.Message._CheckCalledFromGeneratedFile()
E   TypeError: Descriptors cannot not be created directly.
E   If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
E   If you cannot immediately regenerate your protos, some other possible workarounds are:
E    1. Downgrade the protobuf package to 3.20.x or lower.
E    2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
E   
E   More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

This was fixed with #314