python-packaging / honesty

sdist/bdist validator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sort releases that come back from json api

thatch opened this issue · comments

It appears that the releases from the json api are string-sorted, so if you use something like honesty extract foo without a version, it picks the last (not necessarily highest version).

(.venv) [tim@rygel honesty]$ honesty extract numpy
/home/tim/.cache/honesty/ext/numpy-1.18.4.zip/numpy-1.18.4

works now.