I've been looking back over the packaging PEPs lately, and came across the REQUESTED file specified in PEP376, which (in theory, and if I'm thinking about it correctly) should only be present as site-packages/*.dist-info/REQUESTED for the package set that pip-chill aims to report.
Might this be a better way to build up the chilled package list than the current dependency-checking approach?
There might even already be an API for this in packaging or importlib or whatever...I haven't looked yet.
I've been looking back over the packaging PEPs lately, and came across the
REQUESTED
file specified in PEP376, which (in theory, and if I'm thinking about it correctly) should only be present assite-packages/*.dist-info/REQUESTED
for the package set thatpip-chill
aims to report.Might this be a better way to build up the chilled package list than the current dependency-checking approach?
There might even already be an API for this in
packaging
orimportlib
or whatever...I haven't looked yet.