BUG: Codecommit concept of "Latest version" for pypi packages wrong

0

Python package version information is defined in (PEP 440)https://www.python.org/dev/peps/pep-0440/.

However version sorting in code artifact is not conformant to PEP440. In particular I noticed that for code artifact 1.0.0.dev1 > 1.0.0 while for PEP440 it should be 1.0.0.dev1 < 1.0.0. In other words if both versions 1.0.0 and 1.0.0.dev1 are present, code artifact will report 1.0.0.dev1 as the "Latest version", while, in reality 1.0.0 is the latest one.

(Did not check how code artifact treats 1.0.0rc1 and friends)

This bug will not prevent pip from working correctly, but it is quite annoying in the WEB GUI to code artifact. Please read and implement PEP440 version sorting in code commit. THX.

Edited by: stefano-m on Aug 5, 2020 6:39 AM

Edited by: stefano-m on Aug 5, 2020 6:40 AM

Edited by: stefano-m on Aug 5, 2020 6:42 AM

質問済み 4年前266ビュー
1回答
0
承認された回答

Thanks for reporting this issue. I have created a ticket to track it, we will get it fixed.

profile pictureAWS
回答済み 4年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ