-
Notifications
You must be signed in to change notification settings - Fork 981
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
[question] How to properly use replace_requires? #16399
Comments
I just noticed that conan doesn't output replace_requires in log. It is present in my host profile
|
Hi @Nekto89 thanks a lot for taking the time to report the issue. While it's true that this is one great side-effect of the feature, this aspect is not fully realized yet, so some shortcomings are still expected. We are planning on thinking more about this issue to provide solutions for this usage (And it's one of the reasons for which we've stop accepting PRs in CCI that add a I'll let you know once we have some solid ground to work on, but for now I'll check if there's something to be done in the recipe to support this use-case without too many modifications :) |
I'm proposing #16401 for Conan 2.4 next release to fix this issue, thanks for the heads-up :) |
I'm also trying to use Perhaps a bit naïve, but wouldn't it make sense to alias the dependencies with their original name in the dependencies dict? |
I am investigating in #16443 if it is possible to allow this, or |
@AbrilRBS has also been investigating the part of the |
#16443 has been merged, it will be in next 2.8 release. It should cover the cases of referential transparency for |
What is your question?
Hi, I have a question regarding replace_requires.
Previously I was changing recipes to be able to use zlib-ng instead of zlib. [replace_requires] should be able to allow me to do this without change of recipes if I understood correctly. But I can't make it work. Is this a problem of recipe that uses zlib, recipe of zlib-ng or conan? Or maybe I'm doing something completely wrong?
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: