python-oauth (version question)

Micah Gersten micahg at
Thu Jun 23 19:51:45 UTC 2011

On 06/23/2011 02:32 PM, Barry Warsaw wrote:
> Hi Rodney, Martin,
> As part of our bug 788514 efforts to get rid of python-support and
> python-central on our CDs, I've run across python-oauth.  There's good news
> and bad news ;).
> The good news: Debian has version 1.0.1-3 which tracks upstream's 1.0.1, the
> most current release on the Cheeseshop.  It has already been converted to
> dh_python2.
> The bad news: well, there's several!  Since you guys are the last to touch the
> package on Ubuntu, I'm hoping you can shed some light.  Note that AFAICT, it
> was last modified in Karmic.
> * The version numbers are borked.  Ubuntu has 1.0a~svn1124-0ubuntu2 while sid
>   has 1.0.1-3.  The Ubuntu version number is higher, but it represents an
>   older version of the upstream library.  So we'll have to play games with the
>   version numbers when we update the Ubuntu package.
>   (e.g. 1.0a.isreally.1.0.1-3ubuntu1 or some such).

This isn't true, the new Debian version is higher.
~$ dpkg --compare-versions 1.0a~svn1124-0ubuntu2 gt 1.0.1-3 && echo 1
~$ dpkg --compare-versions 1.0a~svn1124-0ubuntu2 lt 1.0.1-3 && echo 1

More information about the ubuntu-devel mailing list