#1058292 aioredis: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13

Package:
src:aioredis
Source:
src:aioredis
Submitter:
Lucas Nussbaum
Date:
2026-08-26 18:45:02 UTC
Severity:
normal
Tags:
#1058292#5
Date:
2023-12-12 08:22:44 UTC
From:
To:
Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
The full build log is available from:
http://qa-logs.debian.net/2023/12/12/aioredis_1.3.1-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

#1058292#12
Date:
2026-08-26 18:34:32 UTC
From:
To:
¡Hola!

El 2023-12-12 a las 09:22 +0100, Lucas Nussbaum escribió:

Doing a rebuild of python related packages in order to test the support
of python 3.15 I stumbled upon this issue. The underlying issue is that
the tests are dealing with an already done future, so the callbacks
added with add_done_callback are never called.

I'm attaching patch to fix this, the patch was applied in the python
3.15 sandbox [1].

Please consider applying this or a similar patch.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/