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

fix errors with google-showcase-nspkg.pth

Open vchudnov-g opened this issue 2 years ago • 1 comments

When running tests locally, I get errors of the form

Error processing line 1 of /usr/local/google/home/[...]/gapic-generator-python/.nox/showcase_alternative_templates/lib/python3.9/site-packages/google-showcase-nspkg.pth

Not sure where that line is coming from (maybe nox, maybe Showcase itself), but we should fix the error which is causing tests to fail. Apparently the workaround is to manually remove the file, but we should not need to do that.

vchudnov-g avatar Jul 18 '22 20:07 vchudnov-g

This is the site packages issue which has caused many different issues for us. Some details about it: https://github.com/googleapis/gapic-generator/issues/3334#issuecomment-768156415.

vam-google avatar Jul 19 '22 20:07 vam-google

I believe this should be resolved now that we've removed namespace_packages from setup.py. See related discussion in https://github.com/googleapis/gapic-generator/issues/3334#issuecomment-768156415. I'm going to close this issue. We can open it again if the issue reappears.

parthea avatar Jan 20 '24 00:01 parthea