Merge ~ogayot/ubiquity:fix-unittest-python3.11 into ubiquity:main
Proposed by
Olivier Gayot
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 0e37f20cccbbc819f22ad2e836cca5cccedecc31 | ||||
Proposed branch: | ~ogayot/ubiquity:fix-unittest-python3.11 | ||||
Merge into: | ubiquity:main | ||||
Diff against target: |
54 lines (+10/-4) 2 files modified
debian/changelog (+6/-0) tests/test_ubi_console_setup.py (+4/-4) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Steve Langasek | Approve | ||
Review via email: mp+436402@code.staging.launchpad.net |
Commit message
tests: make test_ubi_
Description of the change
In python3.11, the pkgutil.
It is a problem for ubiquity since we import modules that contain hyphens using importlib through load_plugins.
To work around the issue, patch the imported object rather than patching the symbol name.
To post a comment you must log in.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
Green autopkgtest in PPA: https:/ /autopkgtest. ubuntu. com/results/ autopkgtest- lunar-ogayot- lunar-proposed/ lunar/amd64/ u/ubiquity/ 20230126_ 192707_ 8eb78@/ log.gz