-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Failing to resolve source code imports #23
Comments
So I ended up playing around with grabbing the
Thanks. I'm sure I'm missing something silly. |
Hey, regarding
Regarding
|
First, thanks for working on this integration. I'm excited to incorporate it into our Python 3 code base.
With some of my initial tests I'm seeing numerous errors of the type
Cannot find implementation or library stub for module named ...
. I suspect the issue is our use of theimports
attribute on a sharedpy_library
rule.Our code is structured such that we have a
src/python3
directory in our repository which our imports are relative to.The majority of our packages live under a subdirectory called
uc
so most of our imports start withuc.
. We have a py_library rule that everything depends on directly or transitively that hasimports = [".."]
. This works well for us with Bazel so far but I'm wondering if it's what is causing the issue.I noticed that you had #8 which looks at imports for
py_test
andpy_binary
so I'm wondering if it's the combination ofpy_library
and..
that isn't handled.Any ideas? Thanks!
The text was updated successfully, but these errors were encountered: