Sort Simple API detail page releases#1272
Conversation
Assisted By: Claude Opus 4.6
|
Behaviour before this patch: https://packages.redhat.com/trusted-libraries/python/aiobotocore/ |
gerrod3
left a comment
There was a problem hiding this comment.
Was this requested by someone? Not sure it is needed, from the PEP:
Note that because servers may hold “legacy” data from before the adoption of PEP 440, version strings currently cannot be required to be valid PEP 440 versions, and therefore cannot be assumed to be orderable using the PEP 440 rules. However, servers SHOULD use normalised PEP 440 versions where possible.
|
@gerrod3 This was not requested, but when I started working on the yank feature, I noticed there were tens of unsorted files in Simple API and was not able to find the latest release because of this. I also remember that this used to be sorted some time ago (we did a naive sorting, for example: Edit: https://pypi.org/simple/twine/ is sorted, so I would like our Simple API to be sorted as well. |
📜 Checklist
See: Pull Request Walkthrough