On Tue, Aug 23, 2016 at 3:25 PM, Simo Sorce <simo(a)redhat.com> wrote:
I have been searching the web to see if we have any hard and fast
rule
on converting the PEP 440 version names into an RPM NVR that will allow
correct upgrades when a Python package is released.
In particular in PEP 440 the following ordering is true:
0.2.dev1 < 0.2.a1 < 0.0.b1 < 0.2.rc1 == 0.2.c1 < 0.2 == 0.2.0 <
0.2.post1
If we were allowed to, I'd probably structure like so in the Version field:
0.2~0.dev1 < 0.2~a1 < 0.2~b1 < (0.2~rc1 | 0.2~c1) < ( 0.2 | 0.2.0 ) <
0.2+post1
To me, this is more natural than doing the weird release hacking we do now.
--
真実はいつも一つ!/ Always, there's only one truth!