[Pkg-mpd-maintainers] Bug#1056485: python-mpd asyncio tests fail with Python 3.12

Simon McVittie smcv at debian.org
Fri Dec 15 13:27:47 GMT 2023


Control: retitle -1 python-mpd asyncio tests fail with Python 3.12
Control: severity -1 important

On Sun, 10 Dec 2023 at 20:59:48 +0000, Simon McVittie wrote:
> On Wed, 22 Nov 2023 at 15:18:06 +0100, Matthias Klose wrote:
> > python-mpd's autopkg tests fail with Python 3.12:
> > [...]
> > 248s mpd.base.ConnectionError: Can not send command to disconnected client
> 
> Fedora opened an equivalent bug upstream. No fix is currently known -
> patches would be very much appreciated.

It looks as though the failing tests are for python-mpd's asyncio
interface, which is not actually used by any Debian package yet. In the
3.1.0-2 upload, I've marked those tests to be skipped, which mitigates
the bug.

It's still a valid bug, just not RC any more. If anyone is interested in
fixing the asyncio interface (or the test - it's not clear which one is
wrong), please revert d/p/Skip-asyncio-unit-tests-in-Python-3.12.patch
locally.

3.1.0-2 also sets up the package to run tests for all supported Python
versions at build time, which should make the failure with 3.12 easier
to reproduce: it will become a build failure, not just an autopkgtest
failure.

Thanks,
    smcv



More information about the Pkg-mpd-maintainers mailing list