Open zbordas-kollective opened 2 years ago
Hi @zbordas-kollective
tool_requires
are private in recipes, and cannot be overriden from other downstream recipes. But they can be overriden if necessary by profiles.
I think in this case this is an inconsistency in recipes in conan-center-index, and recipes there should be updated to use the same protobuf/3.21.4 version, but for some reason grpc
hasn't been updated yet.
I am transferring this issue to conan-center-index repo.
Thank you very much for the response. Our project is set up for cross-compilation that's why we have a separate tool_requires list. Is there any way for us to mitigate the problem on our side other than enabling revisions and explicitly reference to specific revisions of the conflicting 3rd party packages?
Environment Details (include every applicable attribute)
Steps to reproduce (Include if Applicable)
Create any project with a single dependency on grpc and the child dependency to protobuf cannot be resolved.
Running conan produces an error:
There is no way to resolve the conflict unless the dependency from tool_requires is removed. Putting any explicit version of protobuf (either version) into either 'tool_requires' or 'requires' has no effect on the end result.
Logs (Executed commands with output) (Include/Attach if Applicable)