-
Notifications
You must be signed in to change notification settings - Fork 540
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
pip dependencies name conflict #275
Comments
This is a duplicate of #65. Yep, a lot of us have had this issue 😅. It's also a problem for the These are long standing issues, so we fixed this problem over in https://github.com/dillon-giacoppo/rules_python_external and now use that at work. ✅ |
There's also https://github.com/ali5h/rules_pip and https://github.com/apt-itude/rules_pip which I think also handle this problem. The latter might not be actively maintained though. |
@thundergolfer indeed, thanks for the pointer to other related bugs and the solution! will try rules_python_external. |
Consider a
py_binary
target hasBoth
google-auth
andgoogle-cloud-storage
package have top level directorygoogle
, which causes conflict.import google.storage
will complain about no module namedgoogle.storage
because python is trying to findstorage
module in thegoogle-auth
package'sgoogle
directory.Wonder has anybody else had this issue, and how to resolve it?
The text was updated successfully, but these errors were encountered: