We'd like you to use Launchpad web service version "1.0" in Lucid

Kees Cook kees at ubuntu.com
Tue Mar 30 19:32:28 BST 2010


On Tue, Mar 30, 2010 at 05:57:57PM +0200, Martin Pitt wrote:
> Leonard Richardson [2010-03-30 10:44 -0400]:
> > 1. When testing, make sure you're using launchpadlib 1.5.7 or later. A
> > bug in earlier versions made launchpadlib use the 'beta' service in some
> > circumstances even when you told it to use another version.
> 
> Right, that's what I stumbled on today, too. I synced 1.5.7 into lucid
> now, and extensively tested with Apport.
> 
> Please bump the binary dependencies accordingly when doing the
> porting.

To detect this at run-time, I'm using:

if launchpadlib.__version__ < '1.5.7':
    raise ValueError, "Requires launchpadlib version 1.5.7 or later (%s in use)" % (launchpadlib.__version__)


-- 
Kees Cook
Ubuntu Security Team



More information about the ubuntu-devel mailing list