gapic-generator-python icon indicating copy to clipboard operation
gapic-generator-python copied to clipboard

Automatically audit imports of generated clients to ensure that dependencies are explicitly declared and tested

Open parthea opened this issue 1 year ago • 2 comments

https://github.com/googleapis/gapic-generator-python/issues/1922 captures the issue where google-auth is an undeclared dependency. We should audit to code to ensure that all dependencies are declared.

parthea avatar Feb 02 '24 14:02 parthea

In addition, if we could automate the audit process itself somehow, we can make it less likely something like this will occur should we ever add more dependencies.

vchudnov-g avatar Feb 02 '24 18:02 vchudnov-g

See related issue https://github.com/googleapis/synthtool/issues/1901 to also add this functionality downstream

parthea avatar Feb 06 '24 13:02 parthea