[Python-modules-team] Bug#890621: python3-keyrings.alt 2.2-2 module.__file__ is None, causing regrtest.py to fail

Dmitry Shachnev mitya57 at debian.org
Sun Feb 18 18:28:50 UTC 2018


Control: reassign -1 python3.6 3.6.4-4
Control: severity -1 serious
Control: merge 890754 -1

On Sat, Feb 17, 2018 at 06:18:28PM -0600, Ron Lovell wrote:
> Hi Dmitry,
>
> Thanks for the quick reply.  I notice you have an older Python build. On my
> Sid system,
> in a new login session:
>
> $ python3.6
> Python 3.6.4+ (default, Feb 12 2018, 08:25:03)
> [GCC 7.3.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import keyrings
> >>> keyrings.__file__
> >>> repr(keyrings.__file__)
> 'None'
> >>> dir(keyrings)
> ['__doc__', '__file__', '__loader__', '__name__', '__package__',
> '__path__', '__spec__']

Oh, so it looks like a regression in python3.6 3.6.4-4.

It looks very similar to #890754, so I am merging these two bugs.

> I'm running Sid on arch amd64, with updates current.  I wouldn't think a
> rebuild with gcc 7.3
> would make a difference.  I'm trying to think of anything special about my
> environment that
> would cause a difference.  What do you mean by "a clean environment"?  A
> fresh install of Debian?

No more need to reproduce it. Just for future, it is very convenient to use
minimal chroots (like pbuilder, sbuild, schroot, etc) for testing such
things.

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20180218/d6ea433f/attachment.sig>


More information about the Python-modules-team mailing list