Python2 plugin deprecated, but new plugin not documented?

Barry Warsaw barry at ubuntu.com
Tue Oct 4 00:11:10 UTC 2016


On Oct 03, 2016, at 07:51 PM, Sergio Schvezov wrote:

>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!

lazr is a namespace package, which presents problems for the Debian ecosystem
in Python 2.  Because there would be subpackage contention for ownership on
the lazr/__init__.py file, actually *no* package owns it, and instead the
Python helpers manage that file as needed.  This is solved in Python 3 by PEP
420.

https://www.python.org/dev/peps/pep-0420/

Cheers,
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161003/b15a5d58/attachment.sig>


More information about the Snapcraft mailing list