[Distutils] Review of latest draft of PEP 426 (Python package metadata v1.3)

Paul Moore p.f.moore at gmail.com
Mon Jan 28 16:01:46 CET 2013


On 28 January 2013 13:26, Daniel Holth <dholth at gmail.com> wrote:
> We had a discussion about version schemes a while back along with Vinay. It
> seems to me that the Major.Minor.Micro sorting is pretty much universal, but
> when you want to compare alphanumeric patch / rc versions within the same
> Major.Minor.Micro release you need to know which scheme you are using. In
> other words you can probably still sort all the versions unless someone
> changes version schemes without incrementing Major.Minor.Micro.


But isn't that precisely what you want to do when comparing 1.2.1dev1
against 1.2.1c1...? As it stands, the PEP is silent on which of these
is latest. Or are you saying that versions like that don't conform to
Metadata 1.3 and so the behaviour is undefined by that spec?

Paul


More information about the Distutils-SIG mailing list