The transition to add support for Python 3.6 is beginning

Michael Hudson-Doyle michael.hudson at canonical.com
Wed Jul 12 09:03:30 UTC 2017


On 12 July 2017 at 11:30, Barry Warsaw <barry at ubuntu.com> wrote:

> On Jul 12, 2017, at 07:33 AM, Michael Hudson-Doyle wrote:
>
> >Yeah, it's all good so long as we don't rebuild lazr.delegates thanks to
> >https://github.com/pypa/setuptools/issues/912 related fun...
>
> Too true. :(
>
> I haven't yet investigated the suggested linked to that issue, but if you
> have
> the time and inclination, you might see if this helps.  E.g. is lazr.*
> using
> these inconsistently?
>
> https://bitbucket.org/ambv/configparser/issues/17/#comment-36669436


Well they both do this:

try:
    import pkg_resources
    pkg_resources.declare_namespace(__name__)
except ImportError:
    import pkgutil
    __path__ = pkgutil.extend_path(__path__, __name__)

But both python3-lazr.delegates and python3-lazr.config Depend: on
python3-pkg-resources, so the ImportError case should never occur...

Cheers,
mwh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20170712/e1e20390/attachment.html>


More information about the ubuntu-devel mailing list