When working with lockfiles (pants 2,13, using poe...
# general
p
When working with lockfiles (pants 2,13, using poetry lock files) is there a way to tell which first party dependency is responsible for a given transitive dependency (pypi packages) ?
👍 1
h
Not that I can think of, but that would be a really great feature to have, since this info is all available in the lockfile.
It's just a matter of graph algorithms
We'd just need to find a way to represent the pypi package on the cmd line, since it has no corresponding target
p
in lockfiles generated by pip-compile this info is in the comments. not sure if the poetry or pex lock file have the option to include this info.
h
pex lockfile has this explicitly in the graph structure, afaik
🎉 1