Open racinmat opened 1 week ago
Hi @racinmat,
Thanks for reporting this issue. The issue has been fixed upstream in https://github.com/protocolbuffers/protobuf/pull/18159. We'll keep this issue open until a new version of protobuf
is available.
Root cause bug in python is https://github.com/protocolbuffers/protobuf/issues/18045 for cross-reference
Determine this is the right repository
Summary of the issue
Context I tried to list zones in a project using
google-cloud-compute
SDK and it's broken with the protobuf=5.28.0. I have replicated this behavior with clean python environment.Expected Behavior: The code from https://cloud.google.com/python/docs/reference/compute/latest/google.cloud.compute_v1.services.zones.ZonesClient#google_cloud_compute_v1_services_zones_ZonesClient_list works.
Actual Behavior:
It all works with
protobuf==5.27.4
. So there must be something broken in https://github.com/protocolbuffers/protobuf/releases/tag/v28.0API client name and version
google-cloud-compute==1.19.2
Reproduction steps: code
file: get_zones.py
Reproduction steps: supporting files
no files needed
Reproduction steps: actual results
see the stack trace above
Reproduction steps: expected results
it prints the zones
OS & version + platform
Windows 10
Python environment
python 3.11.9
Python dependencies