v0.65.0 causes sample tests to fail in python-asset #1274
Labels
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
samples
Issues that are directly related to samples.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
I merged a renovate bot PR #1227 to update google-api-core which included a change that incorrectly modified retry logic in client libraries. This appears to break samples tests in https://github.com/googleapis/python-asset/pull/409/files. The issue is that instead of getting
google_api.core.exceptions.NotFound
when a resource is not found we getgoogle.api_core.exceptions.RetryError
.In this commit from google-api-core,
grpc
was not imported ifgrpcio-status
is not available. The issue was fixed in googleapis/python-api-core#355.The issue should be resolved with
google-api-core==2.7.2
googleapis/python-api-core#358The text was updated successfully, but these errors were encountered: