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] Add warning about things that will dissapear in 2.X from 2.0 #12345

Closed
czoido opened this issue Oct 20, 2022 · 1 comment
Closed

[feature] Add warning about things that will dissapear in 2.X from 2.0 #12345

czoido opened this issue Oct 20, 2022 · 1 comment
Assignees
Milestone

Comments

@czoido
Copy link
Contributor

czoido commented Oct 20, 2022

We currently provide some "fake" attributes in the ConanFile for 2.0 in order to not break compatibility with 1.X recipes. For example .names and .filenames. But these attributes will dissapear at some point in Conan 2.X and we want users to be aware that these things will throw errors before they get them. The idea is start to output warning messages when those attributes are used and make them errors if required_conan_version>=2.0

Related to: #12334

@franramirez688
Copy link
Contributor

Closes by #12351

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

No branches or pull requests

2 participants