We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
--require-override
Conan 1.39.0 added the --require-override argument. How can I use it?
Let's create the following conanfile.txt:
conanfile.txt
[requires] cubicinterpolation/0.1.4
Current cubicinterpolation has a dependency on boost/1.75.0. Executing the following command does not bump the version of boost. It remains at 1.75.0.
boost/1.75.0
conan install .. --require-override=boost/1.77.0
It's unclear to me whether this is a bug or whether I use this command wrongly?
I used the same syntax as tested by this commit: ae7732b Also, the test only tests conanfile.py recipes, no conanfile.txt recipes.
conanfile.py
UPDATE: It works when I convert conanfile.txt to conanfile.py. So imho this is a bug: conanfile.txt has a different behavior then conanfile.py.
Tested with conan 1.40.4
The text was updated successfully, but these errors were encountered:
Hi @madebr
Yes, it looks like a bug. It's behaving differently between each mode.
Sorry, something went wrong.
Added test to reproduce issue conan-io#10010
7e2c9e9
42ada89
[Bugfix] Option --require-override is not working for `conanfile.tx…
d27b8b3
…t` (#10013) * Added test to reproduce issue #10010 * Fixed bug override_requires when using conanfile.txt
#10013 fixed this, will be in 1.43
franramirez688
Successfully merging a pull request may close this issue.
Conan 1.39.0 added the
--require-override
argument.How can I use it?
Let's create the following
conanfile.txt
:Current cubicinterpolation has a dependency on
boost/1.75.0
.Executing the following command does not bump the version of boost.
It remains at 1.75.0.
It's unclear to me whether this is a bug or whether I use this command wrongly?
I used the same syntax as tested by this commit: ae7732b
Also, the test only tests
conanfile.py
recipes, noconanfile.txt
recipes.UPDATE:
It works when I convert
conanfile.txt
toconanfile.py
.So imho this is a bug: conanfile.txt has a different behavior then conanfile.py.
Tested with conan 1.40.4
The text was updated successfully, but these errors were encountered: