Comment 3 for bug 822677

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 822677] [NEW] "No module named launchpadlib" on lp-propose-merge

On 9 August 2011 22:49, John A Meinel <email address hidden> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 8/8/2011 3:24 PM, Launchpad Bug Tracker wrote:
>> You have been subscribed to a public bug:
>>
>> When I call bzr lp-propose-merge in any branch I'll get bzr: ERROR:
>> Unable to import library "launchpadlib": No module named
>> launchpadlib
>>
>> I've installed Bazaar (bzr) 2.3.3 on Windows 7 from the official
>> installer.
>>
>> ** Affects: bzr-windows-installers Importance: Undecided Status: New
>>
>
> Do we really want to bundle all of launchpadlib into the Windows
> installer? I suppose we could just remove lp-propose? The issue is
> launchpadlib carries a *lot* of dependencies in with it.

I think it's reasonable to want to run launchpad-related commands from
bzr on Windows.

There are a few options to get there:
 * just include them (but there are a lot of dependencies)
 * have some separate way to install the dependencies, and make
lp-propose fail cleanly with a recommendation to add them (perhaps
this is already possible through eg pip, but that might not work well
with py2exe?)
 * rewrite this to work on top of lp_api_lite, though that will take
some new development to let it send signed requests, get tokens, etc,
so it's not a short term solution