Python2 plugin deprecated, but new plugin not documented?

Sergio Schvezov sergio.schvezov at canonical.com
Mon Oct 3 22:51:20 UTC 2016



El 03/10/16 a las 16:47, Marco Ceppi escribió:
> Hi Sergio,
>
> Sorry, replication instructions are as follows:
>
> export JUJU_REPOSITORY=$(mktemp -dp $HOME)
> cd $JUJU_REPOSITORY
> charm pull-source ~marcoceppi/charm-svg .
>
> This will trigger the error. Anytime the code path needs to interact 
> with launchpadlib it fails. If you pull the stable channel from the 
> store you'll see it succeeds.

Did this ever work?
dpkg -S /usr/lib/python2.7/dist-packages/lazr/__init__.py

Tells me it is not owned by any package so very unlikely that a 
`stage-packages entry would of brought it in. I am interested!

For what it's worth, Kyle had the same issue and we just went to pypi 
for this, if you prefer going down this path just add this to the python 
part in there:

python-packages: [launchpadlib, simplejson]

and remove the corresponding entry from `stage-packages`. That makes 
this happen:

$ charm pull-source ~marcoceppi/charm-svg .
Downloaded cs:~marcoceppi/charm-svg to 
/home/sergiusens/tmp.fTqwALsTzT/charm-svg





More information about the Snapcraft mailing list