distro-info: autopkgtests fail due to missing tomli dependency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
distro-info (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
pylint (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Here's an excerpt of the failure:
FAIL: test_pylint (distro_
Test: Run pylint on Python source code.
-------
Traceback (most recent call last):
File "/tmp/autopkgte
self.
AssertionError: pylint exited with code 1 and has unexpected output on stderr:
Traceback (most recent call last):
File "/usr/lib/
return _run_code(code, main_globals, None,
File "/usr/lib/
exec(code, run_globals)
File "/usr/lib/
pylint.
File "/usr/lib/
from pylint.lint import Run as PylintRun
File "/usr/lib/
from pylint.
File "/usr/lib/
from pylint.
File "/usr/lib/
from pylint.
File "/usr/lib/
import tomli as tomllib
ModuleNotFoundE
The root cause of the issue is this: https:/
However, since I'm not sure how quickly we can find a satisfactory fix for that issue, I figure we could address the problem locally first by temporarily adding python3-tomli as a dependency of the distro-info test, or pylint itself (unconditionally)
This bug was fixed in the package pylint - 2.15.9-1ubuntu1
---------------
pylint (2.15.9-1ubuntu1) lunar; urgency=medium
* Temporarily add an unconditional dependency on python3-tomli to keep
the package working with python3.10 (LP: #2002820)
-- Simon Chopin <email address hidden> Fri, 13 Jan 2023 15:11:58 +0100