Skip to content

Implement env_info and user_info as fake attributes in Conan 2.0 so the error is not thrown - #12351

Merged
czoido merged 7 commits into
conan-io:develop2from
czoido:fake_env_props
Oct 24, 2022
Merged

czoido merged 7 commits into
conan-io:develop2from
czoido:fake_env_props

Conversation

@czoido

@czoido czoido commented Oct 20, 2022

Copy link
Copy Markdown
Contributor

Changelog: Implement env_info and user_info as fake attributes in Conan 2.0 so the error is not thrown
Docs: add note to migration guide

Closes: #12334

TODO: Output a warning message in 2.0 to inform users that those attributes are deprecated (we should also include other things like .names that are still there to provide compatibility). This is in order to reduce the risk of breaking users when we pass from Conan 2.0 to 2.X

@czoido czoido added this to the 2.0.0-beta5 milestone Oct 20, 2022
@czoido
czoido marked this pull request as ready for review October 21, 2022 09:41
@czoido
czoido requested a review from memsharded October 21, 2022 09:42
@czoido
czoido marked this pull request as draft October 21, 2022 09:42
@czoido
czoido removed the request for review from memsharded October 21, 2022 09:42
@czoido
czoido marked this pull request as ready for review October 21, 2022 12:36
Comment thread conans/model/conan_file.py Outdated
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

Successfully merging this pull request may close these issues.

2 participants