Skip to content
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

[feature] "The recipe is constraining settings." error should name the recipe #8557

Closed
1 task done
melak47 opened this issue Feb 25, 2021 · 1 comment · Fixed by #8559
Closed
1 task done

[feature] "The recipe is constraining settings." error should name the recipe #8557

melak47 opened this issue Feb 25, 2021 · 1 comment · Fixed by #8559
Milestone

Comments

@melak47
Copy link
Contributor

melak47 commented Feb 25, 2021

When installing via a conanfile, the "ERROR: The recipe is constraining settings." message includes details
about the setting that was constrained, but not the recipe that did it.

It would be helpful if the message also named the recipe, so the user doesn't have to search through all
the recipes of the whole tree to find which one is constraining that setting.

The implementation at
https://github.com/conan-io/conan/blob/develop/conans/model/conan_file.py#L71
already has access to the recipe's name (conanfile.display_name),
so it would be easy to add this to the error message.

@jgsogo
Copy link
Contributor

jgsogo commented Feb 25, 2021

This should be an easy feature, feel free to submit a PR with the required change 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants