-
Notifications
You must be signed in to change notification settings - Fork 993
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
Fix graph explain
not showing some differences in requirements if missing
#15355
Fix graph explain
not showing some differences in requirements if missing
#15355
Conversation
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.
Looks good to me, I think we can move it forward
conan/api/subapi/list.py
Outdated
for r in expected_build_requires: | ||
existing = binary_build_requires.get(r.name) | ||
if not existing or r != existing: | ||
self.build_requires_diff.setdefault("expected", set()).add(repr(r)) | ||
self.build_requires_diff.setdefault("existing", set()).add(repr(existing)) |
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.
This pattern is repeated a few times, maybe we want to make a local function for it?
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.
Approved
Changelog: Fix: Fix
graph explain
not showing some differences in requirements if missing.Docs: Omit
Message when the right pkgid is not looked up still pending to add.
This still need to be rebased on top of #15353 for the tests to have a chance to pass, as it was while fixing this that we found the linked PR
This to discuss:
build-requires
norsettings_target
, a contribution for that would be welcome