-
Notifications
You must be signed in to change notification settings - Fork 593
Conversation
Steps to completion: Not exhaustive
|
There are no references to this file in any of the build scripts. A full build with the complete test battery, without this file, yielded no issues.
If we are removing all use of pex, we will need to ensure we can still Launch HeronPy topologies. The Heron Executor code currently decides which binary type based on file extension. The logic in this file will need to be updated based on these changes. incubator-heron/heron/executor/src/python/heron_executor.py Lines 788 to 795 in fab089c
|
…o requirements.txt
Added location for main method.
Merging as opposed to re-basing so that there is a commit we can drop to revert.
Switched to requirements. Errors locating file with main method in all library targets.
2c91881
to
806c25b
Compare
d2675cf
to
eec9864
Compare
Co-authored-by: Nicholas Nezis <[email protected]>
Draft removal of most references to |
This would be really cool~ |
There is no direct translation for this in py_binary.
There is no direct translation for this. It also appears that newer versions of <bazel_rules_pex> have switched to calling this <data> which aligns with <py_binary>.
821b857
to
7a809e8
Compare
There is no
I think this may align with Bazel's definition of
|
d50c8e4
to
6c524b4
Compare
I just reverted the commits on Edit: I am still learning Bazel and understanding the build scripts. I can not trigger the infinite loop that CI is experiencing on my local machines: (00:13:40) ERROR: Cycle detected but could not be properly displayed due to an internal problem.
Please file an issue. Raw display: topLevelKey: ConfiguredTargetKey{label=//heron/api/src/cpp:cxx-api, config=BuildConfigurationValue.Key[a5ba794ad3f6c1fd9f8a7f4293435609fb1ef8a34f21b35e3d8a289fcb873f5e]} The error seems to be caused by an infinite recursion/expansion of the build rule |
entrypoint = "cpplint", | ||
reqs = ["cpplint==1.3.0"], | ||
srcs = ["empty.py"], | ||
main = "cpplint", |
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.
Could this be causing an infinite recursion/expansion of the build rule?
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.
I guess it could be possible. @nicknezis would have a better idea. He's been our go to Bazel person,
I think the best way to approach this enormous task is to completely remove a single PEX build rule at a time and make sure everything compiles and all tests pass. Start with the simpler build rules and move to the more complex ones. That way we can verify in a concrete fashion that the changes we are making are correct. It also means the work we are completing can be incrementally merged back into Conceivably a Kanban board that tracks the rules to remove? We can clump some together for fewer PR's. |
I like the idea of removing a single build rule at a time. After jumping into a lot this code I think we've learned a lot (a good time for growth 😄 ) Are you thinking we should abandon this branch and start fresh? |
We are thinking alike 😁 |
Closing to account for smaller chunks of work. |
No description provided.