Report circular dependencies detected by topological_order_packages()#617
Merged
mikepurvis merged 1 commit intocatkin:masterfrom Feb 5, 2021
Merged
Report circular dependencies detected by topological_order_packages()#617mikepurvis merged 1 commit intocatkin:masterfrom
mikepurvis merged 1 commit intocatkin:masterfrom
Conversation
Contributor
|
Thank you, I did not find the responsible code in catkin_pkg before I had figured out my problem. CI failed, although I fail to find the reason for the error... |
Contributor
Author
|
CI was failing due to code formatting. Fixed now and ready to merge, @mikepurvis or @wjwwood. |
Member
|
Much needed improvement, thanks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When detecting circular dependencies, catkin_pkg reports them with a special entry
(None, <string of packages>).However, catkin tools didn't handle this situation yet, but assumed that the second component of the tuple is always a package instance, providing a
nameattribute (pkg.name):catkin_tools/catkin_tools/verbs/catkin_list/cli.py
Lines 95 to 96 in 9a3cc31
causing the following exception: