conan icon indicating copy to clipboard operation
conan copied to clipboard

[question] Full Requires with conan2 python API

Open lstoffer opened this issue 9 months ago • 7 comments

What is your question?

Hi! I have a question regarding the conan2 python API. I have a PkgReference and want to determine all the dependencies that this package has (also transitive dependencies). Is there a way to achieve this with the current state of the conan2 python API.

What I found and seems to be on the right track is the GraphAPI and its function load_graph. However I struggle to see how to get the root_node that has to be passed to this function from the PkgReference I already have.

Have you read the CONTRIBUTING guide?

  • [X] I've read the CONTRIBUTING guide

lstoffer avatar May 15 '24 05:05 lstoffer