
July 21, 2017
1:09 a.m.
[Sending to the list this time] On 2017 Jul 20, at 12:41, Jeremy Stanley <fungi@yuggoth.org> wrote:
So while it might be possible to add some sort of feature to inspect wheels at upload and then store the specific dependencies declared therein and report those back via an API method, I expect coverage across packages in general would be fairly low today.
PyPI (both Legacy and Warehouse) actually does do this already; see the `requires_dist` field in, e.g., <https://pypi.org/pypi/qypi/json>. However, this only seems to work if the maintainer uploads the wheel before uploading the sdist (unless the sdist is a .zip instead of a .tar.gz, then it can be uploaded first? I'm not sure).