-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Don't try to import a toplevel __init__ module #131
Conversation
Can you clarify what issue you are reporting/patching? It's best if you provide a description of the expected vs actual behavior of a sample code that reproduces the behavior. The tests run as expected on my test machines and also on the CI server... so I'm not sure what you are trying to do. |
Well, errors like this one. I'm packaging the module for Debian, and this is from the Debian build process which basically runs
or (second patch)
Basically, your Travis script runs the tests directly, which has the side effect of adding the directory the test script is in to Replacing the imports with fully-qualified module names (relative ones won't work when you run a test directly) doesn't (IMHO cannot) hurt, Just Works, and allows me to package your module for Debian without adding some multiprocess-specific |
Sometimes I'm seeing the same error as you, and sometimes I'm not (it must depend on the directory you run the command from)... however, if I do (run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I have no idea on which Python versions the old code works, but on mine (Python 3.11, Debian) it doesn't.