You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use asio-grpc library inside my conan package, which I'll be exporting. But when I'm trying to override grpc version for asio-grpc package inside my conanfile, exporting breaks.
Removing the override flag works as intended.
Environment Details
Operating System+version: Windows 11 22H2
Compiler+version: MSVC 2022
Conan version: 2.11.0
Python version: 3.12.0
Steps to reproduce
Create a conanfile with the following requirements:
This means: "if there is an existing verison of grpc up in the dependency graph, please use the 1.67.1 version instead of the required version up there. But if there is no grpc up in the dependency graph, do nothing". That is, it only "overrides" if it is existing, if it doesn't exist, it does nothing.
If you want to force the dependency to grpc/1.67.1, then use force=True instead of override=True, and that will add the dependency always, even if it doesn't exist upstream, and if it exists upstream it will enforce the 1.67.1 version.
What is your question?
I'm trying to use
asio-grpc
library inside my conan package, which I'll be exporting. But when I'm trying to overridegrpc
version forasio-grpc
package inside my conanfile, exporting breaks.Removing the
override
flag works as intended.Environment Details
Steps to reproduce
conan create .
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: