Wednesday 12 July 2017

Re: The transition to add support for Python 3.6 is beginning



On 12 July 2017 at 11:30, Barry Warsaw <barry@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