You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We were using conan-2.0.11, Python-3.12 in Windows context.
We are upgrading to Conan-2.11.0, Python-3.12.4 in Windows context.
I had this issue with conan-2.0.11 , when setting tool_requires of a package with visible attribute set to True, I had to additionally set in the generate method:
I had this issue with conan-2.0.11 , when setting tool_requires of a package with visible attribute set to True, I had to additionally set in the generate method:
Please note that in general the visible=True trait for tool_requires is discouraged, experimental at best. It did learned some capabilities in previous releases, but still should be considered as not the most recommended approach.
But there were indeed some changes and improvements to better support the visible=True case for tool_requires since Conan 2.0.11, see:
Bugfix: Avoid the propagation of transitive dependencies of tool_requires to generators information even if they are marked as visible=True. #16077
Feature: Propagate run trait requirement information in the “build” context downstream when visible trait is True. #16849 . Docs here
Bugfix: Fix visible trait propagation with build=True trait. #15357
So it is definitely possible that something that required more explicit management now has improved.
What is your question?
Dear Conan Folks,
We were using conan-2.0.11, Python-3.12 in Windows context.
We are upgrading to Conan-2.11.0, Python-3.12.4 in Windows context.
I had this issue with conan-2.0.11 , when setting tool_requires of a package with visible attribute set to True, I had to additionally set in the generate method:
But with conan-2.11.0 this seems not to be necessary.
I looked into the code and seem to find the lines that resolve it:
https://github.com/conan-io/conan/blob/2.11.0/conans/model/requires.py#L289.
But did not find information about it in the Changelog.
Is my assumption correct?
Thank You for helping!
Br
Maitrey
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: