Your message dated Mon, 14 Sep 2026 07:34:07 +0000
with message-id <[email protected]>
and subject line Bug#1147486: fixed in python-loky 3.6.0-1
has caused the Debian Bug report #1147486,
regarding python-loky: FTBFS against python 3.15rc2
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.)
--
1147486: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1147486
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-loky
Version: 3.5.6-1
User: [email protected]
Usertags: python3.15
Tags: patch, ftbfs, forky, sid
Severity: important
Hi!
While rebuilding the python related packages against the Python 3.15rc2
version we found that python-loky fails to build from source [1].
Almost all the resource tracker tests fail, and this can be fixed by
applying the upstream resource_tracker fix (5c28e6c) [2].
I've applied the upstream fix in the sandbox [3] to verify that it
builds successfully, please consider applying the patch to support the
upcoming 3.15 version.
Setting the severity to important for now. Once Python 3.15 is released,
it will be added to python3-defaults and this bug will become release
critical.
Happy hacking,
[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4495806/
[2]:
https://github.com/joblib/loky/commit/5c28e6c1f6be265f9337630efc1b8349b0360d94
[3]: https://debusine.debian.net/debian/r-python-python3.15/
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
From: Loïc Estève <[email protected]>
Subject: MNT Vendor CPython resource tracker code for easier maintainability (#472)
Co-authored-by: Eric Larson <[email protected]>
Co-authored-by: Olivier Grisel <[email protected]>
Origin: backport, https://github.com/joblib/loky/commit/5c28e6c1f6be265f9337630efc1b8349b0360d94
Bug: https://github.com/joblib/loky/pull/472
Index: python-loky/loky/backend/resource_tracker.py
===================================================================
--- python-loky.orig/loky/backend/resource_tracker.py
+++ python-loky/loky/backend/resource_tracker.py
@@ -38,6 +38,8 @@
# resources once all processes connected to the resource tracker have exited.
+import base64
+import json
import os
import shutil
import sys
@@ -91,6 +93,30 @@ if os.name == "posix":
VERBOSE = False
+def _decode_message(line):
+ """Decode a message sent by a resource tracker client.
+
+ Python 3.15's multiprocessing.resource_tracker._send() always encodes
+ messages as base64-JSON instead of the legacy colon-separated format.
+ """
+ if line.startswith(b"{"):
+ obj = json.loads(line.decode("ascii"))
+ cmd, rtype = obj["cmd"], obj["rtype"]
+ name = base64.urlsafe_b64decode(obj.get("base64_name", "")).decode(
+ "utf-8", "surrogateescape"
+ )
+ else:
+ splitted = line.strip().decode("ascii").split(":")
+ # name can potentially contain separator symbols (for
+ # instance folders on Windows)
+ cmd, name, rtype = (
+ splitted[0],
+ ":".join(splitted[1:-1]),
+ splitted[-1],
+ )
+ return cmd, name, rtype
+
+
class ResourceTracker(_ResourceTracker):
"""Resource tracker with refcounting scheme.
@@ -284,14 +310,7 @@ def main(fd, verbose=0):
with open(fd, "rb") as f:
for line in f:
try:
- splitted = line.strip().decode("ascii").split(":")
- # name can potentially contain separator symbols (for
- # instance folders on Windows)
- cmd, name, rtype = (
- splitted[0],
- ":".join(splitted[1:-1]),
- splitted[-1],
- )
+ cmd, name, rtype = _decode_message(line)
if rtype not in _CLEANUP_FUNCS:
raise ValueError(
--- End Message ---
--- Begin Message ---
Source: python-loky
Source-Version: 3.6.0-1
Done: Andreas Tille <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-loky, 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.
Andreas Tille <[email protected]> (supplier of updated python-loky 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: Mon, 14 Sep 2026 08:30:33 +0200
Source: python-loky
Architecture: source
Version: 3.6.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team
<[email protected]>
Changed-By: Andreas Tille <[email protected]>
Closes: 1147486
Changes:
python-loky (3.6.0-1) unstable; urgency=medium
.
* Team upload.
* New upstream version
Closes: #1147486
* d/watch: Use Dist-form of Github template
* Reflow Uploaders field (cme)
* Remove trailing whitespace in debian/copyright (routine-update)
Checksums-Sha1:
2b15d5de6e41a0d87ef75c32e511a74682d57a28 2432 python-loky_3.6.0-1.dsc
87ce1ab3ef9e838313161ab89a6cf20b60f799b8 160607 python-loky_3.6.0.orig.tar.gz
15560a821ad23365232228775b2ff2b395d802a2 4872 python-loky_3.6.0-1.debian.tar.xz
18e23a09bf041c575efbaf83af84a638106b1769 10767
python-loky_3.6.0-1_amd64.buildinfo
Checksums-Sha256:
136fb08150e05dd765fd1358c2657b31ca0adaee250d51f68ef37444c696f841 2432
python-loky_3.6.0-1.dsc
33d2de6385c16ca6131b311f9084bcd15e1d6a8dfb132b54693572bc75065ca6 160607
python-loky_3.6.0.orig.tar.gz
8f7bdf797dc66604658a798c9a1da6bb06495f18f25dc5dd972982f9fc4e2eef 4872
python-loky_3.6.0-1.debian.tar.xz
2977bc022b849779721002060ad013b48b4f4a87d9c060565849b4e0450e7787 10767
python-loky_3.6.0-1_amd64.buildinfo
Files:
f3a2507ca6884356ec6e9e92d7c6973d 2432 python optional python-loky_3.6.0-1.dsc
9fa8792b0ea8f1c7d479f14e5286ee84 160607 python optional
python-loky_3.6.0.orig.tar.gz
60b7c22f7aaaa010a425c9c60fb72c73 4872 python optional
python-loky_3.6.0-1.debian.tar.xz
916bb70df5b802402ef5c46f44163856 10767 python optional
python-loky_3.6.0-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmqnn9IRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtF+8xAAgMHTdACRh6F2IA97+TtMsabR0Iq5zLcY
Uugqivh1e9LYcR+S5DZVy/tdZTLKMrPpgabC5OctrJx/R7IvmUnAEVYJheqzrZVw
sTIOYNrBEuRbE0BT35jIw+C0eQnpxE6BXuRzQ/AW8Z+oOxuT2lSn3jeWz2CmXfL8
g+lRD8huZ5jR9WhLe+uvocksTWCMWQ/8Hk8Y3oL7QQzed/6DgnD9qF92YTSOS90l
Mkap4G/rt5Wjom77mcfPAWDD085xSlirTKMrVhYQj2GGoj+N9oezcgzsmv2c6r6s
n7mT2zcB/VNPR2fi3ujfI0dZ8lhHGYllm9y9FCPp8Ss+/lvkIoX12F6bpm03RlpU
KUp620amOY6O7AcJq0eIXwfjbnZR+qgWeJlMj1MxTR0GUSJvGKCjd1+kV2cMdJ+v
bjXf/gwIL3/8zhAaHivr6WBD/NLt6l2Qdt8mWkwhhsMu6r3jrpCXPbmGDU5rLliw
AfQqz6MamvHHpiOys0cTb3QL+oCZuK09n0CqpHkLnQw3rfCm4Tl/3XoBzUu+LmL1
+wO0c16HYBaNV4oECWVQz+H3yHL6UcNt5UHXxW41JGh5Q7yV6PEl3OXGAqc6Snke
tg3hNyBVb0GF3/4omzlD7OuAGhl3+UU53fw1T8EL03RHwU8cmmZ7CGhtVp4zNGOU
Zs8ZSFyzJdU=
=bLVB
-----END PGP SIGNATURE-----
pgpPuuDaN9nAO.pgp
Description: PGP signature
--- End Message ---