Source: python3-proselint Version: 0.8.0-2 Severity: normal User: [email protected] 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/
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

