-
Notifications
You must be signed in to change notification settings - Fork 88
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
Error on collecting tests: #372
Comments
I have a deep suspicion about It seems to me that it add to database a symbol with the lead dot, i.e., “.Genre”, not “Genre”. |
It only happens when package is empty. The .proto file starts with a package declaration, which helps to prevent naming conflicts between different projects. In Python, packages are normally determined by directory structure, so the package you define in your .proto file will have no effect on the generated code. However, you should still declare package to avoid name collisions in the Protocol Buffers name space as well as in non-Python languages. |
This is freaking this package’s test suite! Does it mean you agree with me it is buggy?
As above, I haven’t defined anything, this is the test suite. |
Related issues: I have a similar stack trace with our internal build system. Googlers see cl/442743937. I'll check whether googleapis/proto-plus-python#309 fixes it. |
#373 helped. Thank you! |
While updating the packaging for this package for openSUSE, we run the test suite and it errored on us:
Environment details
python --version
3.9.12 (but also with 3.8.13 and 3.10.4)pip --version
22.0.4google-api-core
version:pip show google-api-core
2.7.2Steps to reproduce
Stack trace
Complete build log with all details of packages used and steps taken to reproduce.
The text was updated successfully, but these errors were encountered: