-
Notifications
You must be signed in to change notification settings - Fork 594
Conversation
I made a new pull request to better describe some of the issues I was running into when trying to use this feature. I'm able to get things working at this point as shown by the green CI build. When I try to Pin the list of dependencies as described here, I run into my first issue. It complains about needing an attribute |
An example of an odd issue I've run into when trying to use newer Bazel versions... I get errors about |
maven_install
method for managing external jvm dependencies
Thanks! Yeah. Wheel was installed and then used as a python tool instead of a library. I remember it is used to build platform independent CLI binary although I am not 100% sure. It could be nice if we can avoid the pip install but it might not be really necessary. Your call and whichever is easier should be good. :) |
@nwangtw Yes once I saw the |
b9075f5
to
086931a
Compare
47f0947
to
b61e880
Compare
One thing that springs to mind looking at this PR, is that adding a Bazel linting/formatting stage to travis could be a good idea. That whay buildozer hopefully won't be responsible for such large diffs when it is used |
@Code0x58 That's a great idea! I'm currently stumped with Python tests failing. It seems they are not able to find the protobuf generated python code. I assume I broke something in my edits. |
3d08a58
to
ccafb12
Compare
ccafb12
to
72bb7b7
Compare
54188c7
to
b14857e
Compare
Closing this. The work has moved to #3510 |
Update the Bazel build scripts to use this new capability: https://github.com/bazelbuild/rules_jvm_external
The goal would be to better manage the project's dependencies and not have to manually update the various transitive dependencies. This tool will use a dependency's pom.xml to dynamically generate the Bazel targets for each of the dependencies.
This approach started with the
buildozer
migration which did a lot of formatting cleanup, but ultimately didn't work. After thebuildozer
cleanup, I had to manually update the WORKSPACE and BUILD files to use the newmaven_install
feature.