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
class MyPackage(ConanFile):
name = "package"
version = "0.0.1"
python_requires = "conan_utils/x.x.x"
python_requires_extend = "conan_utils.MyConanFileTemplate"
Note: the package doesn't have attributes settings, options, description etc. (default attributes are defined in conan_utils).
Calling conan inspect on such package will result in the following output:
I'm aware, that documentation states, that conan inspect ... lists class attributes only, but still, IMO, current issue is a bug, because inspection doesn't represent all package attributes (as in conan 1.x).
The text was updated successfully, but these errors were encountered:
apyvovar
changed the title
[bug] Package inspection doesn't work with python_requires feature
[bug] Package inspection doesn't work with python_requires feature in 2.x
May 14, 2023
I think this has been already improved in #13716, to be released in next 2.0.5 (next week).
If you want to test it from the release/2.0 branch that would be great feedback.
Environment details
Steps to reproduce
conanfile.py
:Note: the package doesn't have attributes
settings
,options
,description
etc. (default attributes are defined inconan_utils
).Calling
conan inspect
on such package will result in the following output:I'm aware, that documentation states, that
conan inspect ... lists class attributes only
, but still, IMO, current issue is a bug, because inspection doesn't represent all package attributes (as in conan 1.x).The text was updated successfully, but these errors were encountered: