testresources autopkgtest fails against Python 3.12
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testresources |
Fix Released
|
Undecided
|
Unassigned | ||
testresources (Debian) |
Fix Released
|
Unknown
|
|||
testresources (Ubuntu) |
Fix Released
|
Undecided
|
Dan Bungert |
Bug Description
Running autopkgtest against Python 3.12 fails with:
418s <frozen runpy>:128: RuntimeWarning: 'testtools.run' found in sys.modules after import of package 'testtools', but prior to execution of 'testtools.run'; this may result in unpredictable behaviour
418s Tests running...
418s =======
418s ERROR: testresources.
418s -------
418s Traceback (most recent call last):
418s File "/tmp/autopkgte
418s self.failIf(
418s ^^^^^^^^^^^
418s AttributeError: 'TestResourcedT
418s =======
418s ERROR: testresources.
418s -------
418s Traceback (most recent call last):
418s File "/tmp/autopkgte
418s self.failIf(
418s ^^^^^^^^^^^
418s AttributeError: 'TestResourcedT
failIs was a deprecated alias for assertFalse. Let's use assertFalse instead.
tags: | added: update-excuse |
Changed in testresources (Debian): | |
status: | Unknown → New |
Changed in testresources (Ubuntu): | |
status: | New → In Progress |
Changed in testresources: | |
status: | New → Fix Released |
Changed in testresources (Debian): | |
status: | New → Fix Released |
Attaching debdiff.
Package uploaded to https:/ /launchpad. net/~ogayot/ +archive/ ubuntu/ noble-proposed/
Green autopkgtest run locally.