purple-plastic-57801
06/26/2023, 11:06 PMbroad-processor-92400
06/26/2023, 11:12 PMpants peek ::
gives JSON output that includes the dependencies, and this can be turned into a graph and processed. E.g. load into NetworkX or Neo4j and run arbitrary graph analytics there.
(NB. this has limitations for third-party requirements though, e.g. requests
depends on urllib3
, but pants isn't aware of this: there's no pants-level link from a requests
python_requirement
to a urllib3
one https://github.com/pantsbuild/pants/issues/12733)purple-plastic-57801
06/26/2023, 11:26 PMbroad-processor-92400
06/26/2023, 11:26 PMhappy-kitchen-89482
06/27/2023, 1:08 AM