🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.rc
1 messages
1 total messages Started by Debian Bug Tracking System Sat, 07 Nov 2026 15:10
Bug#1146528: marked as done (joblib: FTBFS against python 3.15rc1)
#2589
Author: Debian Bug Tracking System
Date: Sat, 07 Nov 2026 15:10
445 lines
20247 bytes
This is a multi-part message in MIME format...

------------=_1794063665-807924-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Sat, 07 Nov 2026 14:59:09 +0000
with message-id <E1xPhsr-0000000DTIU-0J5m@fasolo.debian.org>
and subject line Bug#1146528: fixed in joblib 1.5.3-3
has caused the Debian Bug report #1146528,
regarding joblib: FTBFS against python 3.15rc1
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 owner@bugs.debian.org
immediately.)


--=20
1146528: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1146528
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1794063665-807924-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 2 Sep 2026 19:50:56 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-118.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,SPF_HELO_NONE,
	SPF_PASS,USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 62; hammy, 150; neutral, 259; spammy,
	0. spammytokens:
	hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
	0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
	0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <maxy@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:39262)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <maxy@debian.org>)
	id 1x1qz1-000JiC-0e
	for submit@bugs.debian.org;
	Wed, 02 Sep 2026 19:50:56 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.stravinsky; h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
	Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding:Content-ID:
	Content-Description:In-Reply-To:References;
	bh=8p2Dysgk5J1mHcfKmMG1h2c1MOtYUvx2p2xDm4E6sIs=; b=MNvb8NbJEKeGnwnepLNzhP7PGn
	f05xqULg7vVhh8qxccX8Hp1Cr5v2XGMhZut/l9F4QaJrMQ96+PhmMnk7p1OlLM1QxxnrWRKKFsL0p
	8K44GHqu3LGR0POTC6IjDsT9KrLC26802A5LBBvWg0TXSLifhdwAcOb+5uUCeAp5iK1XlU9qu0whW
	yG/uymEtDP4bd3aFZob1GCgPdgqJ9ejiQl+QfhqqXweQmIMueEog51wkX0uwgetWqSTuFIfEcfLAe
	22r4+++k0McHLKttQeHAEmGFKGcvMrGxMhclT/uBoZU17IdIPNl/8zsVZ36OcY2cq2sdKqzHzZUsB
	TnUvKgrg==;
Received: from authenticated-user
	by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <maxy@debian.org>)
	id 1x1qz0-0001cE-0U;
	Wed, 02 Sep 2026 19:50:55 +0000
Date: Wed, 2 Sep 2026 21:50:53 +0200
From: Maximiliano Curia <maxy@debian.org>
To: submit@bugs.debian.org
Cc: debian-python@lists.debian.org
Subject: joblib: FTBFS against python 3.15rc1
Message-ID: <aph-HUEfQHb9hX0c@hecuba.gnuservers.com.ar>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="tWUa4/eRCtJcmPxf"
Content-Disposition: inline
X-Debian-User: maxy
Delivered-To: submit@bugs.debian.org

--tWUa4/eRCtJcmPxf
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline

Package: src:joblib
Version: 1.5.3-2
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: patch, ftbfs, forky, sid

Hi!

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

In order to fix the issue, I had to:
- Run the tests in autopkg tests with the conftest file (Fixes #1140861)
- Backport loky's _decode_message function to support Python 3.14+
   (Fixes #1141207).
- Change the condition for using multiprocessing in the random parallel
   example (needs to be forwarded upstream).

I applied these fixes in the sandbox [2] to be able to build the
packages that depend on joblib, please consider applying the patch to
support the upcoming 3.15 version.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4496152/
[2]: 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 /\/\ /\ >< `/

--tWUa4/eRCtJcmPxf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=joblib_1.5.3-2.1.debdiff

diff -Nru joblib-1.5.3/debian/changelog joblib-1.5.3/debian/changelog
--- joblib-1.5.3/debian/changelog	2026-06-24 18:31:44.000000000 +0200
+++ joblib-1.5.3/debian/changelog	2026-09-02 16:13:04.000000000 +0200
@@ -1,3 +1,11 @@
+joblib (1.5.3-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch: forkserver-examples, to avoid hanging forkservers in the tests
+  * Backport loky's _decode_message
+
+ -- Maximiliano Curia <maxy@debian.org>  Wed, 02 Sep 2026 16:13:04 +0200
+
 joblib (1.5.3-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru joblib-1.5.3/debian/patches/forkserver-examples joblib-1.5.3/debian/patches/forkserver-examples
--- joblib-1.5.3/debian/patches/forkserver-examples	1970-01-01 01:00:00.000000000 +0100
+++ joblib-1.5.3/debian/patches/forkserver-examples	2026-09-02 16:13:04.000000000 +0200
@@ -0,0 +1,48 @@
+Description: Only use multiprocessing backend in examples when start method is fork
+ In Python 3.14+, multiprocessing defaults to the forkserver start method on
+ POSIX. When using the multiprocessing backend on top-level functions without
+ the fork start method, worker processes cannot deserialize the functions.
+Index: joblib/examples/parallel_random_state.py
+===================================================================
+--- joblib.orig/examples/parallel_random_state.py
++++ joblib/examples/parallel_random_state.py
+@@ -87,7 +87,7 @@ print_vector(random_vector, backend)
+ 
+ import multiprocessing as mp
+ 
+-if mp.get_start_method() != "spawn":
++if mp.get_start_method() == "fork":
+     backend = "multiprocessing"
+     random_vector = Parallel(n_jobs=2, backend=backend)(
+         delayed(stochastic_function)(10) for _ in range(n_vectors)
+@@ -115,7 +115,7 @@ def stochastic_function_seeded(max_value
+ # reset this seed by passing ``None`` at every function call. In this case, we
+ # see that the generated vectors are all different.
+ 
+-if mp.get_start_method() != "spawn":
++if mp.get_start_method() == "fork":
+     random_vector = Parallel(n_jobs=2, backend=backend)(
+         delayed(stochastic_function_seeded)(10, None) for _ in range(n_vectors)
+     )
+@@ -133,7 +133,7 @@ if mp.get_start_method() != "spawn":
+ #
+ # .. [1]  https://numpy.org/doc/stable/reference/random/parallel.html
+ 
+-if mp.get_start_method() != "spawn":
++if mp.get_start_method() == "fork":
+     seed = 42
+     random_vector = Parallel(n_jobs=2, backend=backend)(
+         delayed(stochastic_function_seeded)(10, [i, seed]) for i in range(n_vectors)
+Index: joblib/examples/serialization_and_wrappers.py
+===================================================================
+--- joblib.orig/examples/serialization_and_wrappers.py
++++ joblib/examples/serialization_and_wrappers.py
+@@ -68,7 +68,7 @@ print(
+ 
+ import multiprocessing as mp
+ 
+-if mp.get_start_method() != "spawn":
++if mp.get_start_method() == "fork":
+ 
+     def func_async(i, *args):
+         return 2 * i
diff -Nru joblib-1.5.3/debian/patches/py315-resource-tracker joblib-1.5.3/debian/patches/py315-resource-tracker
--- joblib-1.5.3/debian/patches/py315-resource-tracker	1970-01-01 01:00:00.000000000 +0100
+++ joblib-1.5.3/debian/patches/py315-resource-tracker	2026-09-02 16:13:04.000000000 +0200
@@ -0,0 +1,61 @@
+Description: Backport loky's _decode_message to support python 3.15
+Index: joblib/joblib/externals/loky/backend/resource_tracker.py
+===================================================================
+--- joblib.orig/joblib/externals/loky/backend/resource_tracker.py
++++ joblib/joblib/externals/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
+@@ -254,6 +256,30 @@ unregister = _resource_tracker.unregiste
+ getfd = _resource_tracker.getfd
+ 
+ 
++def _decode_message(line):
++    if line.startswith(b'{'):
++        try:
++            obj = json.loads(line.decode('ascii'))
++        except Exception as e:
++            raise ValueError("malformed resource_tracker message: %r" % (line,)) from e
++
++        cmd = obj["cmd"]
++        rtype = obj["rtype"]
++        b64  = obj.get("base64_name", "")
++
++        if not isinstance(cmd, str) or not isinstance(rtype, str) or not isinstance(b64, str):
++            raise ValueError("malformed resource_tracker fields: %r" % (obj,))
++
++        try:
++            name = base64.urlsafe_b64decode(b64).decode('utf-8', 'surrogateescape')
++        except ValueError as e:
++            raise ValueError("malformed resource_tracker base64_name: %r" % (b64,)) from e
++    else:
++        cmd, rest = line.strip().decode('ascii').split(':', maxsplit=1)
++        name, rtype = rest.rsplit(':', maxsplit=1)
++    return cmd, rtype, name
++
++
+ def main(fd, verbose=0):
+     """Run resource tracker."""
+     if verbose:
+@@ -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(
diff -Nru joblib-1.5.3/debian/patches/series joblib-1.5.3/debian/patches/series
--- joblib-1.5.3/debian/patches/series	2026-06-24 16:57:28.000000000 +0200
+++ joblib-1.5.3/debian/patches/series	2026-09-02 16:13:04.000000000 +0200
@@ -4,3 +4,5 @@
 intersphinx-inventory
 deb_test_memory
 privacy
+forkserver-examples
+py315-resource-tracker
diff -Nru joblib-1.5.3/debian/tests/pytest joblib-1.5.3/debian/tests/pytest
--- joblib-1.5.3/debian/tests/pytest	2026-06-24 16:57:28.000000000 +0200
+++ joblib-1.5.3/debian/tests/pytest	2026-09-02 16:13:04.000000000 +0200
@@ -19,5 +19,5 @@
 
 for py in $(py3versions -s); do
 	echo "Testing with $py:"
-	$py -m pytest -v -k "${TEST_KEYWORDS}" --pyargs joblib
+	$py -m pytest -v -k "${TEST_KEYWORDS}" -p conftest --pyargs joblib
 done

--tWUa4/eRCtJcmPxf--

------------=_1794063665-807924-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1146528-close) by bugs.debian.org; 7 Nov 2026 14:59:10 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-114.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
	FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,MD5_SHA1_SUM,PGPSIGNATURE,
	USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 74; hammy, 150; neutral, 131; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
	0.000-+--UD:debian.tar.xz, 0.000-+--H*r:sk:fasolo.
Return-path: <envelope@ftp-master.debian.org>
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:55040)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xPhss-003NmD-0p
	for 1146528-close@bugs.debian.org;
	Sat, 07 Nov 2026 14:59:10 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
	by muffat.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xPhsr-009B0c-2t
	for 1146528-close@bugs.debian.org;
	Sat, 07 Nov 2026 14:59:09 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
	Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
	:Content-Description:In-Reply-To:References;
	bh=MvqI2IEGkN2UjiX6x8wXshEnje9mIy+XkcpYGI/b+1Y=; b=AW/91wv3CsSBDzCmsTWFQAEMJ7
	PEciwiep0SWoHpq3lbysOBZMtvH3wGQd2qOGNYn75Ri1rVShz9tzUy1PK5N8DClpQWwHWbfTJEcMR
	jLYulsk878yopZwKgNGk4GiNxI0DarBKDmQZQBz9cLvpgNAtu9qETE0FowlLLj2LnBVTX4Ycf3oXG
	Qx4h/72g+3Iy3XDql8ygveh+yyurv36DE4K7mCt7qjHbXsPS/inFV4wccJxT3vZ1DP9uJ9vk18zJQ
	Y3OTrZC+qUwvUKyjSLTEaeBpmUdWw7aacYh7Un5XAGSOGm0s4EX9U3QR0S46fquVZ6oxr27GCyuDn
	/PiESivQ==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xPhsr-0000000DTIU-0J5m;
	Sat, 07 Nov 2026 14:59:09 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Nico Della Torre <nicoz91@ubuntu.com>
To: 1146528-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: joblib
Debian: DAK
Debian-Changes: joblib_1.5.3-3_source.changes
Debian-Source: joblib
Debian-Version: 1.5.3-3
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1146528: fixed in joblib 1.5.3-3
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature";
 boundary="===============2576365180518870730=="
Message-Id: <E1xPhsr-0000000DTIU-0J5m@fasolo.debian.org>
Date: Sat, 07 Nov 2026 14:59:09 +0000

--===============2576365180518870730==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Source: joblib
Source-Version: 1.5.3-3
Done: Nico Della Torre <nicoz91@ubuntu.com>

We believe that the bug you reported is fixed in the latest version of
joblib, 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 1146528@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nico Della Torre <nicoz91@ubuntu.com> (supplier of updated joblib 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Fri, 06 Nov 2026 20:44:23 +0100
Source: joblib
Architecture: source
Version: 1.5.3-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alio=
th.debian.org>
Changed-By: Nico Della Torre <nicoz91@ubuntu.com>
Closes: 1140861 1141207 1146528
Changes:
 joblib (1.5.3-3) unstable; urgency=3Dmedium
 .
   * Team upload.
   * Fix the tests with Python 3.15 (Closes: #1146528):
     - Backport the JSON resource tracker message decoding.
     - Use the multiprocessing backend in the examples only with fork
       (Closes: #1141207).
     - Load debian/conftest.py in the autopkgtest (Closes: #1140861).
Checksums-Sha1:
 9b1f6548e6bf9987f0a75ec8cc6cc7969b814894 2713 joblib_1.5.3-3.dsc
 4f4f6283482cc87dac128ba81623110ae92350b8 11884 joblib_1.5.3-3.debian.tar.xz
 376fe7d1d6fea67dc5a3c10b9d33528776fa488e 7349 joblib_1.5.3-3_source.buildinfo
Checksums-Sha256:
 1b4a6ed018a5739d95721b03d37657a52d251613832f1c90cedcb5a127e9d6de 2713 joblib=
_1.5.3-3.dsc
 118dfc0949bc565442c44f91ae56b05402e607242af722c3259bb6378ec3d5cc 11884 jobli=
b_1.5.3-3.debian.tar.xz
 785eb5f63c889743989c482129484e015eb8b509436c48efde24bbba27b5ba65 7349 joblib=
_1.5.3-3_source.buildinfo
Files:
 3064e1ab917681b20185bf6e5aaa509a 2713 python optional joblib_1.5.3-3.dsc
 2c8467ac0116a944fb68c01408fdf2d5 11884 python optional joblib_1.5.3-3.debian=
.tar.xz
 454abe6be62940c6cd4ced705cd51df7 7349 python optional joblib_1.5.3-3_source.=
buildinfo

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

iQIzBAEBCgAdFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmrvL4IACgkQMfMURUSh
dBoIpw/6A89eyUiDqmGPS1V5hYBWMIL3NVU9h4omC45g6m9L9ZPbwZDIMD6WHKSt
A1vWOMvrcs4fNYvTzZ978DW95M5D5iHYZdrqvrNF2roNPp1Z4U0SaswYwauj7I/a
M2baxvpbBb+NZ6HMfS3oXy6O8HTysN7fpKvYZJ1hAPl/4VqQeoixBLdRkTEJknrV
2eCCM3Wg+1HWPu4GycXdpg8bWFI5sEMztx53Z8MouHVSuJ8TiIqTZOfv98j5zxFU
Yk/Tu8n5WN9NbHRUJpXlkoFjWfvPA6CevYIRluxzKOPAHnL1GTzr0fQfLhJE9U7K
Irhzo+o4ieRiYvQL/Wgf4kkZ0UdKKsiaeryBGoExhhJnVR/G5bQOqGqIHWbTNy1E
yI8OYnjTFvhSdRE2hFFKuUmNz87LYUZG2CtawYSoQm9Wl4v7friuBXFNwgbBUGWM
rsDxXR8FL81aze1KQmdZYe1v0RFAWJdQxB6otxOP9BwBYLMnDX637SeHawiaydIg
HiXkWJaU1LiBjIchVKRgA6men30yr+sHriS9NNI53qNECwNU6sBNX6MSRu3zyfKt
ks5IUb3jg/i4D5NEFPjlN9UeUBxXVGI0DO32Mc3dBSnTSV9FH1U3j3MGykltSgey
RseZB3xrPz3RRbtDY1gfxgfZA8bsdVX9ruB6uLblMUE1zWdjQ+I=3D
=3D+mjs
-----END PGP SIGNATURE-----


--===============2576365180518870730==
Content-Type: application/pgp-signature

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

iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCau88vQAKCRCb9qggYcy5
IWRkAQCSSuc48rsk/ftdUlVFVIsjKneGFt15gHiy9JPuihN3AQEAlP7MO4CK138P
1qL8/i3ecvqsmlY8ZKs7FsDPibEk7wM=
=yWzV
-----END PGP SIGNATURE-----

--===============2576365180518870730==--
------------=_1794063665-807924-0--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads