Broken listing zones in google-cloud-compute
with protobuf=5.28.0
#13070
Labels
external
This issue is blocked on a bug with the actual product.
priority: p2
Moderately-important priority. Fix may not be included in next release.
status: blocked
Resolving the issue is dependent on other work.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
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.0
API 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
The text was updated successfully, but these errors were encountered: