Autopkgtest regression in python3.11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Fix Released
|
Undecided
|
Olivier Gayot |
Bug Description
Autopkgtest fails with Python 3.11 with the following exception:
ERROR: test_set_
-------
Traceback (most recent call last):
File "/usr/lib/
with self.decoration
File "/usr/lib/
return next(self.gen)
File "/usr/lib/
arg = exit_stack.
File "/usr/lib/
result = _enter(cm)
File "/usr/lib/
self.target = self.getter()
File "/usr/lib/
raise ValueError(
ValueError: invalid format: 'ubi-console-
Since Python3.11, unittest.mock uses pkgutil.
The change was introduced as part of:
* github issue: https:/
* github PR: https:/
Related branches
- Steve Langasek: Approve
-
Diff: 54 lines (+10/-4)2 files modifieddebian/changelog (+6/-0)
tests/test_ubi_console_setup.py (+4/-4)
tags: | added: update-excuse |
Changed in ubiquity (Ubuntu): | |
assignee: | nobody → Olivier Gayot (ogayot) |
status: | New → In Progress |
Changed in ubiquity (Ubuntu): | |
status: | In Progress → Confirmed |
Uploaded, however the package failed to build in lunar: https:/ /launchpad. net/ubuntu/ +source/ ubiquity/ 23.04.3/ +build/ 25524478