#1145835 python-hiredis: FTBFS against python 3.15rc1

#1145835#5
Date:
2026-08-27 08:16:16 UTC
From:
To:
Hi!

While rebuilding the python related packages against the Python 3.15rc1
version we found that TODO fails to build from source [1].

The issue is hiredis uses load_module in its setup.py, which is
deprecated since python 3.4, and removed in 3.15. Upstream already
tackled this problem and fixed the issue with the commit "MNT: do not
use deprecated load_module method"[2], which is included in the upstream
release 3.4.0.

I applied the upstream fix in the sandbox [3] to be able to build the
packages that depend on python-hiredis, please consider applying the
patch or updating the package to a newer upstream release to support the
upcoming 3.15 version.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/999452/
[2]: https://github.com/redis/hiredis-py/commit/475d682cbf7f601785dfda68c79df313aca6bc06
[3]: https://debusine.debian.net/debian/r-python-python3.15/