Add google-auth
as a direct dependency of generated clients
#1922
Labels
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
google.auth
is imported in the generated code but is not declared as a direct dependency insetup.py
.google-auth
is pulled in transitively viagoogle-api-core
.gapic-generator-python/gapic/templates/%namespace/%name_%version/%sub/services/%service/client.py.j2
Line 25 in cd0325b
gapic-generator-python/gapic/templates/setup.py.j2
Lines 32 to 36 in cd0325b
https://github.com/googleapis/python-api-core/blob/5922f2b8f382ee1fd9b69fafb2eed39db93b60fb/setup.py#L34
This led to issue googleapis/google-cloud-python#12254 because the minimum version of
google-auth
is not explicitly stated or tested.The text was updated successfully, but these errors were encountered: