[Pkg-bazaar-maint] Bug#683130: Bug#683133: robust cython version comparisons Was: [Python-apps-team] Bug#683133: xpra: robustify ...

Antoine Martin antoine at nagafix.co.uk
Mon Jul 30 06:04:37 UTC 2012

> $> python -c 'from distutils.version import LooseVersion as LV; print LV("0.17") < LV("0.17.beta1")'
> True
> it is ignorant about suffixes like .beta (thus above result) but is robust
> enough in general and should work for your case I guess with min 0.14 version.
I've re-done the change using LooseVersion:

The diff against the previous code (instead of what I had merged since) 
is here:

Let me know if this works/looks ok to you and I'll apply to the stable 
0.3.x and 0.4.x branches.


More information about the Pkg-bazaar-maint mailing list