rbanffy / pip-chill

A more relaxed `pip freeze`
Other
555 stars 25 forks source link

Possible to use PEP376 REQUESTED file instead of dependencies search? #52

Closed bskinn closed 3 years ago

bskinn commented 3 years ago

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.

bskinn commented 3 years ago

Ah, no. REQUESTED file was deprecated in PEP627.

Nevermind!