You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 26, 2018. It is now read-only.
@mvashishtha noticed a bug on googleapis/artman, running PythonGrpcClientPipeline twice will cause an error. Without cleanup, the generated directory may contain several unrelated files, and therefore packman lists unrelated files in setup.py and then causes error.
setup.py shouldn't catch those unrelated files, we will need some heuristics of doing so.
The text was updated successfully, but these errors were encountered:
This comes specifically from packman's declaration of namespace packages in setup.py.
It seems somewhat odd that packman declares all possible packages as namespace packages. One non-heuristic based option might be to restrict the possible declared namespace packages to a whitelist passed as a command-line argument.
If we actually want the behavior of declaring all possible packages as namespace packages, then perhaps packman should inspect the directories to ensure they contain an init.py before marking them as namespace packages.
@mvashishtha noticed a bug on googleapis/artman, running PythonGrpcClientPipeline twice will cause an error. Without cleanup, the generated directory may contain several unrelated files, and therefore packman lists unrelated files in setup.py and then causes error.
setup.py shouldn't catch those unrelated files, we will need some heuristics of doing so.
The text was updated successfully, but these errors were encountered: