-
Notifications
You must be signed in to change notification settings - Fork 365
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
[bug] Cannot resolve conflicts in conanfile.txt #3848
Comments
The preferred way to change dependencies versions would be to use the
Conan 2 does not generate output files by itself. You'll need to redirect the output manually to a file of your choosing, like: Let me know if this helps, thanks! |
It works, but I believe adding this override globally in your profile is the incorrect approach. Thanks. |
Not clear what you mean, could you please clarify what is |
The profile is a global configuration. The overrides of the dependencies of projectA should not influence the dependencies of projectB. |
You could have 2 different profiles
Profiles doesn't need to be global and used for all projects |
That looks useful, though it feels weird to mix dependency issues with profile.
|
this is because an override is considered an exceptional case, kind of graph external configuration, not part of the This keeps the general design that a Also, it is important to consider that overrides in
No, sorry, my mistake, it is just |
Thanks for the background. I felt it was a missing feature in |
Yes, that is true, but in |
Feel free to close this issue. |
Moving to the docs repo then, thanks for your feedback! |
Describe the bug
I just created the
conanfile.txt
at the bottom for a project.When installing it. conan informs me there is a version conflict between stb/cci.20230920 and stb/cci.20240531.
Looking through the documentation, I don't see a way to resolve this in the txt file.
I believe overriding packages should be do-able from the txt files, and does not require a conversion to py files.
Also, the error messages contains:
Run conan graph info with your recipe and add --format=html to inspect the graph errors in an easier to visualize way.
But when I add
--format=html
, no html files are generated.How to reproduce it
conanfile.txt
The text was updated successfully, but these errors were encountered: