conan
conan copied to clipboard
[question] Full Requires with conan2 python API
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