-
-
Notifications
You must be signed in to change notification settings - Fork 437
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
No Python source warning for namespace modules #572
Comments
When I try the custodia example, I get different output, without that warning. Can you provide a runnable example that produces that exact warning? |
Original comment by Christian Heimes (Bitbucket: tiran, GitHub: tiran) Here is a travis job with a reproducer: https://travis-ci.org/tiran/custodia/jobs/227995541 |
Original comment by Christian Heimes (Bitbucket: tiran, GitHub: tiran) https://github.com/tiran/covns is a minimal reproducer for the problem
|
Fixed in 66dd7fd60798 (bb). |
Originally reported by Christian Heimes (Bitbucket: tiran, GitHub: tiran)
setuptools no longer installs a
__init__.py
for namespace packages. Now I'm getting a warningCoverage.py warning: Module custudia has no Python source.
for a namespace package calledcustodia
. You can easily reproduce the issue with a git checkout of https://github.com/latchset/custodia:Reproducer:
On both Python 2 and 3, a namespace module has a
__path__
attribute but no__file__
attribute. May I suggest that you omit the warning when a module has no__file__
but a__path__
?The text was updated successfully, but these errors were encountered: