Your message dated Fri, 25 Sep 2026 09:05:32 +0000
with message-id <[email protected]>
and subject line Bug#1145094: fixed in python-blockbuster 1.5.28-1
has caused the Debian Bug report #1145094,
regarding python-blockbuster: FTBFS building against python 3.15
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1145094: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1145094
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-blockbuster
Version: 1.5.26-2
User: [email protected]
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
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
Description: Fix compatibility with Python 3.15
 In Python 3.15, posix.ScandirIterator has become an immutable type,
 causing setattr(type(scandir_it), '__next__', ...) to raise TypeError.
 .
 On Python 3.15+ (and Python < 3.9), fall back to hooking os.scandir directly
 on the os module instead of ScandirIterator.__next__.
Author: Maximiliano Curia <[email protected]>
Forwarded: no
--- a/blockbuster/blockbuster.py
+++ b/blockbuster/blockbuster.py
@@ -346,7 +346,9 @@
         excluded_modules=excluded_modules,
     )
 
-    if platform.python_implementation() != "CPython" or sys.version_info >= (3, 9):
+    if platform.python_implementation() != "CPython" or (
+        (3, 9) <= sys.version_info < (3, 15)
+    ):
         with os.scandir() as scandir_it:
             functions["os.scandir"] = BlockBusterFunction(
                 type(scandir_it),
@@ -354,6 +356,13 @@
                 scanned_modules=modules,
                 excluded_modules=excluded_modules,
             )
+    else:
+        functions["os.scandir"] = BlockBusterFunction(
+            None,
+            "os.scandir",
+            scanned_modules=modules,
+            excluded_modules=excluded_modules,
+        )
 
     for method in (
         "ismount",
--- a/tests/test_blockbuster.py
+++ b/tests/test_blockbuster.py
@@ -356,12 +356,15 @@
         os.listdir("/1")
 
 
[email protected](sys.version_info < (3, 9), reason="requires Python 3.9+")
 async def test_os_scandir() -> None:
-    with os.scandir(tempfile.tempdir) as files, pytest.raises(
-        BlockingError, match="Blocking call to ScandirIterator.__next__"
-    ):
-        next(files)
+    if (3, 9) <= sys.version_info < (3, 15):
+        with os.scandir(tempfile.tempdir) as files, pytest.raises(
+            BlockingError, match="Blocking call to ScandirIterator.__next__"
+        ):
+            next(files)
+    else:
+        with pytest.raises(BlockingError, match="Blocking call to os.scandir"):
+            os.scandir(tempfile.tempdir)
 
 
 async def test_os_access() -> None:

--- End Message ---
--- Begin Message ---
Source: python-blockbuster
Source-Version: 1.5.28-1
Done: Colin Watson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-blockbuster, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated python-blockbuster 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 25 Sep 2026 09:46:28 +0100
Source: python-blockbuster
Architecture: source
Version: 1.5.28-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1145094
Changes:
 python-blockbuster (1.5.28-1) unstable; urgency=medium
 .
   * New upstream release:
     - Fix compatibility with Python 3.15 (closes: #1145094).
Checksums-Sha1:
 9cbbdb40b52e0916608939b5ee132213c13b9818 2582 python-blockbuster_1.5.28-1.dsc
 76944226dcb2301bbc72bc3d030ff2d9afda44b1 98235 
python-blockbuster_1.5.28.orig.tar.gz
 e9e800a23ec53bfe757b66cb8d89346aefec6a76 2928 
python-blockbuster_1.5.28-1.debian.tar.xz
 8198d6104818c83cd0c1c11b75824e4b20234958 218512 
python-blockbuster_1.5.28-1.git.tar.xz
 a35c6fb9722937f056fb997c76b8abe0dc8ecdb5 17772 
python-blockbuster_1.5.28-1_source.buildinfo
Checksums-Sha256:
 4ad2e91ef021bfb411675c0cdad82bdb0e352f0c3596f9ed2bb267ab7739856c 2582 
python-blockbuster_1.5.28-1.dsc
 5af2ed9de6c874339a76cc831d1d11db79800a974573580e52ad827a70803482 98235 
python-blockbuster_1.5.28.orig.tar.gz
 33748520a626b73c747c7fd53bb6719a0c2364eb3acbf7fd1365a74ea21796e2 2928 
python-blockbuster_1.5.28-1.debian.tar.xz
 fceb8ed87e695021b8211b84f538b262b4395efafe1dc75464675ff6ab325747 218512 
python-blockbuster_1.5.28-1.git.tar.xz
 d97f876fea5935c135dfe619f663a99a4b698e6f8bb88516d3d8b7c1a5edb2c8 17772 
python-blockbuster_1.5.28-1_source.buildinfo
Files:
 a749e503d23306a3e6962533c3e6b816 2582 python optional 
python-blockbuster_1.5.28-1.dsc
 a89f700d3ad1a10d8d36b7ef5f8413b9 98235 python optional 
python-blockbuster_1.5.28.orig.tar.gz
 dab3bc592cb8a96352110a72d1994183 2928 python optional 
python-blockbuster_1.5.28-1.debian.tar.xz
 a0dd48cb2d1c1765ec19d4ad644a9815 218512 python None 
python-blockbuster_1.5.28-1.git.tar.xz
 f0fc51dd227d808f3d8d43c739ea6870 17772 python optional 
python-blockbuster_1.5.28-1_source.buildinfo
Git-Tag-Info: tag=9d7307388d1d5b85fd8bd4a7b5e814a20b8284c5 
fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <[email protected]>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmq2NcUACgkQYG0ITkaD
wHn14RAApJi75nLSpMEvUbbpeAuagO0QeITYIA5oLj3dbDatYpPoQLnW2m4ppjY7
mMTGPjBZyiuVrT+tpw8S8fCBQonKMeMRNVbiwDvM/xYzQuVKgexhMP9bmznINyb0
WOVNaFW0GZq4/LCrWsvy4uZIeHF+OTY153WA1cHo8okWgLkK8LYK/MTireo/sXGH
fgHW2UB1vVSt5P/YCD0Q64g1xReI3Q3MtorGh/jhEjf2vi3l8Z8f5rS9TkQlUHtp
0+SFCed9fMnd6s7hpWT7Vrbq4lrqOqXsyQ3Gi0rEMHKsOl9az4F9Y0ixJhNRUPsh
n8v29fkxKAAjkqz1UelqOmsW9JGL0BQfgPri9VTEvM2TR/eZsyne/aBDOtQ9NwKV
ptKxSjMVsf0Tv50YLia/78xXBLgFnCKNXI9kD9K4xzGPyAhuL941YkqOWCneB3oq
dGbMbezqkx4RdQAnmO29OtIrdPtRKs0io55MFqHWTfTz/G4W06P99mbeSUzwISvA
7P9Z7vcrXAmVPeggdLnyMaoHqEr+OmVMuBEUCfHrFwNpXRNh5TZtgXQx0sK+tqGg
k+j4Kdp4M4XR0a8faitnaUB9qjotqUhrijhBODUa/64lvOd05a+B4uMXvkADkV65
7bHyxU1554csx+xf4XGPNZ3I+gjyYkNrcwyyjlmEQWcaC7xLVbI=
=kNDI
-----END PGP SIGNATURE-----

Attachment: pgpD_YnJ3GQ2P.pgp
Description: PGP signature


--- End Message ---

Reply via email to