#1145094 python-blockbuster: FTBFS building against python 3.15

#1145094#5
Date:
2026-08-22 10:35:40 UTC
From:
To:
Package: src:python-blockbuster
Version: 1.5.26-2
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: patch

Hi!

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

This is caused by a change in scandir, which now the iterator it
produces is immutable, so it can't be monkey patched.

I sent a pr with the patch upstream[2], and I'm attaching the version
that I sent to the sandbox so other packages that depend on
python-blockbuster can be rebuilt.

Please consider including this patch in your next upload.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/1066554/
[2]: https://github.com/cbornet/blockbuster/pull/71