[Python-Dev] Keyword meanings [was: Accept just PEP-0426]

Vinay Sajip vinay_sajip at yahoo.co.uk
Thu Dec 6 12:28:31 CET 2012

Donald Stufft <donald.stufft <at> gmail.com> writes:

> This is insane. A fairly simple database query is going to "grind the PyPI
> servers into dust"?  You're going to need to back up this FUD or please
> refrain from spouting it.

Never mind the "Obsoletes" information - even the more useful "Requires-Dist"
information is not exposed via PyPI, even though it appears to be stored in the
database. (Or if it is, please point me to where - I must have missed it.)

Even if this were to be made available, it's presumably obtained from PKG-INFO.
As I understand, this data is not considered reliable - for example, pip runs
egg_info on downloaded packages to get updated information when determining
dependencies to be downloaded. If the Requires-Dist info in PKG-INFO can't be
relied on, surely less critical information such as Obsoletes can't be relied on,


Vinay Sajip

More information about the Python-Dev mailing list