This bug was fixed in the package python-apt - 2.5.0 --------------- python-apt (2.5.0) unstable; urgency=medium
[ Jelmer Vernooij ] * Fix attribute name in indexfile.py. * Expose MetaIndex.type. [ Michael Vogt ] * debian: remove `python3-*-dbg` packages (Closes: #994348) * apt: fix mypy in apt.progress.text.AcquireProgress [ Julian Andres Klode ] * AcquireFile: Handle large files (LP: #1998265) * apt/progress/base.py: Return False in default cdrom change * Code style fixes * Mirror list updates * d/t/control: Depend on binutils for ar * Untrack all GC tracked objects before freeing them (LP: #1997036) [ Steve Langasek ] * Drop references to archive.canonical.com (LP: #1959343) -- Julian Andres Klode <juli...@ubuntu.com> Wed, 30 Nov 2022 17:35:59 +0100 ** Changed in: python-apt (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to python-apt in Ubuntu. https://bugs.launchpad.net/bugs/1997036 Title: python-apt: FTBFS with Python 3.11 as a supported version Status in python-apt package in Ubuntu: Fix Released Bug description: python-apt FTBFS with Python 3.11 as a supported version: https://launchpad.net/ubuntu/+source/python-apt/2.3.0ubuntu3 I've copied what I hope is the relevant part of the log below. I: pybuild base:240: env PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dbg_apt/build python3.11-dbg tests/test_all.py [tests] Running on 3.11.0+ (main, Nov 4 2022, 09:23:33) [GCC 12.2.0] Using pybuild supplied build dir s...gc:0: ResourceWarning: Object of type apt_pkg.Package is not untracked before destruction gc:0: ResourceWarning: Object of type apt_pkg.Package is not untracked before destruction gc:0: ResourceWarning: Object of type apt_pkg.Package is not untracked before destruction gc:0: ResourceWarning: Object of type apt_pkg.Package is not untracked before destruction ... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1997036/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp