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] can't override version conflict in tool_requires #14719
Comments
This issue has 2 sides:
def build_requirements(self):
self.tool_requires("gmp/6.3.0", force=True) # if gmp is really an executable we directly use
self.requires("gmp/6.3.0", override=True) # if gmp is only a library that I need to define upstream to solve conflicts |
So, it's not possible to do in a plain *.txt file? |
This works with conan v1 and does not work with conan v2:
|
|
also does not work for conan v2 |
Thanks for the feedback, it seems you are right, there is something there not working as expected, let's investigate it. |
It seems there is a conflict inside In any case, there is still a transitive dependency of I am going to submit a PR with the versions bumps to try to fix it, but without |
Environment details
Steps to reproduce
create a file requirements.txt
[tool_requires]
gcc/12.2.0
make/4.3
cmake/3.24.2
gmp/6.3.0
conan install requirements.txt --build missing
Logs
The text was updated successfully, but these errors were encountered: