[From nobody Thu Nov 12 23:11:03 2026
Received: (at submit) by bugs.debian.org; 5 Sep 2026 18:54:02 +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=-119.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,MD5_SHA1_SUM,
 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, 41; hammy, 150; neutral, 157; 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: &lt;maxy@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:52258)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;maxy@debian.org&gt;) id 1x2vWb-000jpX-2m
 for submit@bugs.debian.org; Sat, 05 Sep 2026 18:54:01 +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=FnrwEXiWHxUPEZRcr/2k9SmTVe/Nv9xD0/mqvrBQ6hI=; b=ANL+n1b+n1m4aR71Zaqd/vvRr3
 DCPeWrg5rawRa3Hf9RwkygqT4v7QCfIJAcoFX6Ppb6ErDUcquds3h483vdlyerDiTE1CiCNv7c6bO
 W+mphpDAZKtPiFV6RSSgHB3NloFxACMWR+C6iL2PqLVkP1ng9f138yH4cJ6akmHlnWwLCoLtmqEoJ
 jPYguBTCpoB5VTSSnLeVp5pO8bpwPESkQA1qQORs9Baq36WWcxJ4EWiJc1m7Zq66RtJZ8YUHSruT9
 0tVs/QQ5fxVGERsm6+5X8yBVo35AerTfE7Yz0+x4WYYUSai8dRyUVu1MnMYPB3yV/ZoOC9oMMJpq7
 8k+Bxb/g==;
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 &lt;maxy@debian.org&gt;) id 1x2vWZ-000Aln-1M;
 Sat, 05 Sep 2026 18:54:00 +0000
Date: Sat, 5 Sep 2026 20:53:58 +0200
From: Maximiliano Curia &lt;maxy@debian.org&gt;
To: submit@bugs.debian.org
Cc: debian-python@lists.debian.org
Subject: python-param: FTBFS against python 3.15rc2
Message-ID: &lt;apxlRrseTEnrrnlR@hecuba.gnuservers.com.ar&gt;
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=&quot;j86bicW2WlySPxVz&quot;
Content-Disposition: inline
X-Debian-User: maxy
Delivered-To: submit@bugs.debian.org

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

Package: src:python-param
Version: 2.1.1-1
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 python-param fails to build from source [1].

This can be fixed by applying the changes from upstream's PR #1165 [2].
Upstream is currently at version 2.4.2, which already includes this
change.

I applied the upstream fix in the sandbox [3] to be able to build the
packages that depend on python-param, please consider applying the patch
(or upgrading to the lastest upstream version) to support the upcoming
3.15 version.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4422237/
[2]: https://github.com/holoviz/param/pull/1165/
[3]: https://debusine.debian.net/debian/r-python-python3.15/

-- 
&quot;Can you imagine what I would do if I could do all I can?&quot; -- Sun Tzu
Saludos /\/\ /\ &gt;&lt; `/

--j86bicW2WlySPxVz
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename=switch-to-os.path.commonpath.patch
Content-Transfer-Encoding: quoted-printable

=46rom e124cb97a0f94977103247b619e4e22fcc83f0ea Mon Sep 17 00:00:00 2001
=46rom: Steve Kowalik &lt;steven@wedontsleep.org&gt;
Date: Tue, 11 Aug 2026 15:03:16 +1000
Subject: [PATCH] Switch to os.path.commonpath

os.path.commonprefix has been deprecated for a few Python releases, and
finally removed as of Python 3.15. os.path.commonpath is the
replacement, switch to using it, and write a test to make certain there
was no behavior changes.
---
 param/_utils.py     |  6 +++---
 param/parameters.py |  2 +-
 tests/testutils.py  | 15 +++++++++++++++
 3 files changed, 19 insertions(+), 4 deletions(-)

Index: python-param/param/_utils.py
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- python-param.orig/param/_utils.py
+++ python-param/param/_utils.py
@@ -541,10 +541,10 @@ def _abbreviate_paths(pathspec,named_pat
     Given a dict of (pathname,path) pairs, removes any prefix shared by al=
l pathnames.
     Helps keep menu items short yet unambiguous.
     &quot;&quot;&quot;
-    from os.path import commonprefix, dirname, sep
+    from os.path import commonpath, dirname, sep
=20
-    prefix =3D commonprefix([dirname(name)+sep for name in named_paths.key=
s()]+[pathspec])
-    return OrderedDict([(name[len(prefix):],path) for name,path in named_p=
aths.items()])
+    prefix =3D commonpath([dirname(name)+sep for name in named_paths.keys(=
)]+[pathspec])
+    return OrderedDict([(name[len(prefix)+1:],path) for name,path in named=
_paths.items()])
=20
=20
 # PARAM3_DEPRECATION
Index: python-param/tests/testutils.py
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- python-param.orig/tests/testutils.py
+++ python-param/tests/testutils.py
@@ -1,14 +1,16 @@
 import datetime as dt
 import os
=20
+from collections import OrderedDict
 from functools import partial
+from tempfile import TemporaryDirectory
=20
 import param
 import pytest
=20
 from param import guess_param_types, resolve_path
 from param.parameterized import bothmethod
-from param._utils import _is_mutable_container, iscoroutinefunction
+from param._utils import _abbreviate_paths, _is_mutable_container, iscorou=
tinefunction
=20
=20
 try:
@@ -421,3 +423,15 @@ def test_iscoroutinefunction_asyncgen():
 def test_iscoroutinefunction_partial_asyncgen():
     pagen =3D partial(partial(agen))
     assert iscoroutinefunction(pagen)
+
+def test_abbreviate_paths():
+    ranges =3D OrderedDict()
+    expected =3D OrderedDict()
+    with TemporaryDirectory() as tempdir:
+        path =3D f&quot;{tempdir}/*&quot;
+        for filename in (&quot;a.txt&quot;, &quot;f.txt&quot;):
+            fullpath =3D f&quot;{tempdir}/{filename}&quot;
+            ranges[fullpath] =3D fullpath
+            expected[filename] =3D fullpath
+    assert _abbreviate_paths(path, ranges) =3D=3D expected
+

--j86bicW2WlySPxVz--
]