[Python-modules-team] Bug#895569: python3-proselint: autopkgtest fails since python3.6 dropped depends on python3-distutils

Paul Gevers elbrus at debian.org
Thu Apr 12 20:08:31 BST 2018


Source: python3-proselint
Version: 0.8.0-2
Severity: normal
User: ci-team at tracker.debian.org
Usertags: progression

Since the upload of python3.6 version 3.6.5~rc1-2, it doesn't depend on
python3-distutils anymore. python3-distutils depends on python3-lib2to3
which provides the Python module under the same name. Your autopkgtest¹
fails since than with loads of errors like the following:

======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'lib2to3')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/usr/lib/python3/dist-packages/nose/loader.py", line 417, in
loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in
importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in
importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/usr/lib/python3.6/imp.py", line 235, in load_module
    return load_source(name, filename, file)
  File "/usr/lib/python3.6/imp.py", line 172, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 684, in _load
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
  File
"/tmp/autopkgtest-lxc.svp7xre8/downtmp/autopkgtest_tmp/tests/test_weasel_words_very.py",
line 4, in <module>
    from .check import Check
  File
"/tmp/autopkgtest-lxc.svp7xre8/downtmp/autopkgtest_tmp/tests/check.py",
line 3, in <module>
    from past.builtins import basestring
  File "/usr/lib/python3/dist-packages/past/__init__.py", line 88, in
<module>
    from past.translation import install_hooks as autotranslate
  File "/usr/lib/python3/dist-packages/past/translation/__init__.py",
line 41, in <module>
    from lib2to3.pgen2.parse import ParseError
ModuleNotFoundError: No module named 'lib2to3'

I don't know if this is an issue of the test (adding the dependency on
python3-lib2to3 there can (probably) fix the issue) or if the
dependencies of your package need updating.

Paul

¹ https://ci.debian.net/packages/p/python3-proselint/unstable/amd64/





-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20180412/53a5a063/attachment.sig>


More information about the Python-modules-team mailing list