Your message dated Tue, 20 Mar 2018 07:19:54 +0000
with message-id <[email protected]>
and subject line Bug#890844: fixed in python3.6 3.6.5~rc1-2
has caused the Debian Bug report #890844,
regarding python3-keyrings.alt 2.2-2 module.__file__ is None, causing
regrtest.py to fail
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
890844: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890844
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-keyrings.alt
Version: 2.2-2
Severity: important
Dear Maintainer,
When package 'keyrings' from python3-keyrings.alt is imported under
python3.6, the module object has a __file__ attribute with a value None.
This causes early failure of the Python 3.6 regression tests from
libpython3.6-testsuite.
The problem occurs starting at line 60 of
/usr/lib/python3.6/test/libregrtest/setup.py, within a loop on the
module objects listed in sys.modules.values(). The module object for
'keyrings' has a __file__ attribute, but it is None, so the call to
os.path.abspath() fails with a TypeError on the non-string argument
passed to it.
Please note that when the 'keyrings' package from python3-keyrings.alt is
imported into python3.7 (python3.7_3.7.0~b1-1_amd64), the
'keyrings' module object has no attribute __file__. Hence the tests
from libpython3.7-testsuite run, even though libregrtest/setup.py
is identical to the 3.6 version.
Note also that when module keyrings.alt (as opposed to package
keyrings) is imported in python3.6, the 'keyrings.alt' module object
has a proper string-valued __file__ attribute. That doesn't help with
the regression tests, however, since a 'keyrings' module object is
listed in sys.modules.values().
It would appear that initialized module objects from import of
package 'keyrings' should not have a __file__ attribute at all,
which is consistent with python3.7's initialization.
I happen to have python3-keyrings.alt installed because
python3-jupyter-core recs python3-pip, which recs python3-wheel, which
recs python3-keyrings.alt. I could probably remove the package without
missing it.
But my current workaround, and one you might consider, is to modify
/usr/lib/python3.6/test/libregrtest/setup.py:
60c60
< if hasattr(module, '__file__'):
---
> if hasattr(module, '__file__') and module.__file__ != None:
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.14.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-keyrings.alt depends on:
ii python3 3.6.4-1
ii python3-crypto 2.6.1-8
ii python3-six 1.11.0-2
python3-keyrings.alt recommends no packages.
Versions of packages python3-keyrings.alt suggests:
ii gir1.2-gnomekeyring-1.0 3.12.0-1+b2
ii python3-gi 3.26.1-2
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: python3.6
Source-Version: 3.6.5~rc1-2
We believe that the bug you reported is fixed in the latest version of
python3.6, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <[email protected]> (supplier of updated python3.6 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 20 Mar 2018 14:29:58 +0800
Source: python3.6
Binary: python3.6 python3.6-venv libpython3.6-stdlib python3.6-minimal
libpython3.6-minimal libpython3.6 python3.6-examples python3.6-dev
libpython3.6-dev libpython3.6-testsuite idle-python3.6 python3.6-doc
python3.6-dbg libpython3.6-dbg
Architecture: source
Version: 3.6.5~rc1-2
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Description:
idle-python3.6 - IDE for Python (v3.6) using Tkinter
libpython3.6 - Shared Python runtime library (version 3.6)
libpython3.6-dbg - Debug Build of the Python Interpreter (version 3.6)
libpython3.6-dev - Header files and a static library for Python (v3.6)
libpython3.6-minimal - Minimal subset of the Python language (version 3.6)
libpython3.6-stdlib - Interactive high-level object-oriented language
(standard library
libpython3.6-testsuite - Testsuite for the Python standard library (v3.6)
python3.6 - Interactive high-level object-oriented language (version 3.6)
python3.6-dbg - Debug Build of the Python Interpreter (version 3.6)
python3.6-dev - Header files and a static library for Python (v3.6)
python3.6-doc - Documentation for the high-level object-oriented language
Python
python3.6-examples - Examples for the Python language (v3.6)
python3.6-minimal - Minimal subset of the Python language (version 3.6)
python3.6-venv - Interactive high-level object-oriented language (pyvenv
binary, v
Closes: 890621 890844
Changes:
python3.6 (3.6.5~rc1-2) unstable; urgency=medium
.
* python3.6: Drop dependency on python3-distutils.
* Fix issue #32305, libregrtest regression when backporting issue #32305.
Closes: #890621, #890844.
Checksums-Sha1:
a81abaab09c83d1a35b9b28d353681ecd4ba8240 3413 python3.6_3.6.5~rc1-2.dsc
c4c3778c51ecc4dc0b45877302a83ca4477290ea 204796
python3.6_3.6.5~rc1-2.debian.tar.xz
4fa8c17b6355e0cdb48dfd485e14ab771b0da10b 9682
python3.6_3.6.5~rc1-2_source.buildinfo
Checksums-Sha256:
b7595395d23fa0bb305b802a008a48653c23329a19d9e4d67fa3882873d3b0b2 3413
python3.6_3.6.5~rc1-2.dsc
627f8f56e1c25e462aec229d858f9f0d49ae19dfbdafbc6469c909ce9144eb9a 204796
python3.6_3.6.5~rc1-2.debian.tar.xz
740e30d0dd55756714c0aba0442f42c5b54863bdd1bd77fbf7b647641f8abf47 9682
python3.6_3.6.5~rc1-2_source.buildinfo
Files:
dfb010cbd74cb6cab0c4bfe35457f3b5 3413 python optional python3.6_3.6.5~rc1-2.dsc
729e652b61b14303c0de9f9c838f3147 204796 python optional
python3.6_3.6.5~rc1-2.debian.tar.xz
cb1cb254771d0293e80aa6e5c5e2cb75 9682 python optional
python3.6_3.6.5~rc1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAlqwsG0QHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9aNaEACPhz0BFz49iDHjcT69I8+ad0nzHsokcHIz
PHaKWNnwa+JgHSeRqJrnXPzD0Y8d4nYI/FwyRd+HcHb1bmOGJZsKi1GoCibKBwcu
Y4bGlmTAK1fx3PSGYhaXj5z84ASOzr9nVx+hJ9rPS/KBuSaF4p1cf+v9mZYsZPaK
eXcCGHhIo6YBubnL/6yHwuJLlDP6Xs6sMcYEEQijD1xR7RpuxAZH2PK8N3PjA4KH
r7H17XS4aPBCT6oMbZEegso+E3msRqKEe6+799C+i4DJDRNdswbII860lT+7Yv7i
PaWKCP9H63PhSjJZPOfCcKFQ874UXiq9rUTcSp28j8MyHMrimEKLeEWScuy3PHl5
b3z16m6isymPuXpLH4zxr0jwxc1QK7047bc4Hto1qkg/QC2wNDxcJ4dZhd5HFkZH
bYY/Z7jhOQalgJuonwvlWu1xhGNdX+dDcypKEIbAbTsdCmb24GosYFvGbXLPQ0P8
YkvJKzlF8FMQq+eo+qyh3afzSc9YiV2jYMGqVDE3slBA8MumOT7oRBNWEbWn2glk
loBerpdmFp2NIK/qu+AEbacYx1hBUEEw4DFRoiNzu0WQqprtMYiKE/CFaIMErLcl
AQEcS1qR5r1zKlzwdW9DkTmr8v18hfLmSK5CQ9upfAFpIAjRIWZLZbMdQ9i72fxk
kEQLP5FUoA==
=OYRr
-----END PGP SIGNATURE-----
--- End Message ---