Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix errors with google-showcase-nspkg.pth #1357

Closed
vchudnov-g opened this issue Jul 18, 2022 · 2 comments
Closed

fix errors with google-showcase-nspkg.pth #1357

vchudnov-g opened this issue Jul 18, 2022 · 2 comments
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. type: process A process-related concern. May include testing, release, or the like.

Comments

@vchudnov-g
Copy link
Contributor

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 vchudnov-g added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. type: process A process-related concern. May include testing, release, or the like. priority: p2 Moderately-important priority. Fix may not be included in next release. labels Jul 18, 2022
@vam-google
Copy link
Contributor

This is the site packages issue which has caused many different issues for us. Some details about it: googleapis/gapic-generator#3334 (comment).

@parthea
Copy link
Contributor

parthea commented Jan 20, 2024

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

@parthea parthea closed this as completed Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. type: process A process-related concern. May include testing, release, or the like.
Projects
None yet
Development

No branches or pull requests

3 participants