Skip to content

Added googleapis-common-protos==1.56.2 as have an issue when response lib is installed.

Radovan Bacovic requested to merge rbacovic-master-patch-17259 into master

Have an issue with google big query python test orchestration/test/test_big_query_client.py

Example: Jobs#3479403204

/usr/local/lib/python3.7/site-packages/google/cloud/bigquery_v2/proto/encryption_config_pb2.py:64: in <module>
    file=DESCRIPTOR,
/usr/local/lib/python3.7/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

Will try with the solution from TypeError: Descriptors cannot not be created directly and add library googleapis-common-protos==1.56.2

Edited by Radovan Bacovic

Merge request reports