-
Couldn't load subscription status.
- Fork 1.1k
Fix for depending on all components of [replace_requires] package #18987
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
base: develop2
Are you sure you want to change the base?
Fix for depending on all components of [replace_requires] package #18987
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.
Thanks for your contribution.
However, we already considered doing this, and we didn't proceed to update CMakeDeps to support this because there is a risk of breaking other users, this is why it was only done in CMakeConfigDeps
We will have a look and consider it, but it is likely that it won't be moved forward.
|
As you can see, this change has broken some existing tests: https://github.com/conan-io/conan/actions/runs/17994704568?pr=18987 This is why this kind of change is very risky for |
I see only one test failure: This should be expected to pass with the change so |
|
Many thanks for checking it. Still, we evaluated that, and while it seems that such code might fix one case, it is certainly quite risky and could break other cases, even if they are not captured by the tests, the usage of It seems the This is also why we are pushing for |
|
@memsharded thanks for taking a look. As I noted in the linked issue, CMakeConfigDeps doesn't work for openssl recipe from the conan-center-index, so we won't be able to use it even if it goes out of incubation. |
|
@memsharded I might be wrong for sure because you know conan source code and usage much better than me, but my thoughts were:
|
Changelog: Bugfix: Fix for depending on all components of [replace_requires] package
Docs: https://github.com/conan-io/docs/pull/XXXX
developbranch, documenting this one.@AbrilRBS IDK how dirty or acceptable this change is but it fixes #18986