Your message dated Sat, 05 Sep 2026 03:04:43 +0000
with message-id <[email protected]>
and subject line Bug#1146599: fixed in python-installer 1.0.1+dfsg1-3
has caused the Debian Bug report #1146599,
regarding python-installer: 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 [email protected]
immediately.)
--
1146599: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1146599
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-installer
Version: 1.0.1-2
User: [email protected]
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-installer fails to build from source [1].
The problem can be fixed applying upstream's commit 97609d8: Use
os.path.commonpath over commonprefix (#345) [2].
I applied the upstream fix in the sandbox [3] to be able to build the
packages that depend on python-installer, 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/4431389/
[2]:
https://github.com/pypa/installer/commit/97609d8b7c202f3a8e5174747559e83c61a4cc95
[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: Richard Si <[email protected]>
Date: Tue, 21 Jul 2026 05:38:28 -0400
Subject: Use os.path.commonpath over commonprefix (#345)
commonprefix was deprecated in Python 3.15 as it does a
character-by-character check which is 99% likely to be not what you
actually want.
commonpath does the sane thing of returning only valid paths (aka
respecting the directory structure).
---
src/installer/_core.py | 2 +-
src/installer/sources.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Index: python-installer/src/installer/_core.py
===================================================================
--- python-installer.orig/src/installer/_core.py
+++ python-installer/src/installer/_core.py
@@ -42,7 +42,7 @@ def _determine_scheme(
data_dir = source.data_dir
# If it's in not `{distribution}-{version}.data`, then it's in root_scheme.
- if posixpath.commonprefix([data_dir, path]) != data_dir:
+ if posixpath.commonpath([data_dir, path]) != data_dir:
return root_scheme, path
# Figure out which scheme this goes to.
Index: python-installer/src/installer/sources.py
===================================================================
--- python-installer.orig/src/installer/sources.py
+++ python-installer/src/installer/sources.py
@@ -220,7 +220,7 @@ class WheelFile(WheelSource):
name[len(base) + 1 :]
for name in self._zipfile.namelist()
if name[-1:] != "/"
- if base == posixpath.commonprefix([name, base])
+ if base == posixpath.commonpath([name, base])
]
def read_dist_info(self, filename: str) -> str:
@@ -259,7 +259,7 @@ class WheelFile(WheelSource):
record_args = record_mapping.pop(item.filename, None)
- if self.dist_info_dir == posixpath.commonprefix(
+ if self.dist_info_dir == posixpath.commonpath(
[self.dist_info_dir, item.filename]
) and item.filename.split("/")[-1] in ("RECORD.p7s", "RECORD.jws"):
# both are for digital signatures, and not mentioned in RECORD
--- End Message ---
--- Begin Message ---
Source: python-installer
Source-Version: 1.0.1+dfsg1-3
Done: Stuart Prescott <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-installer, 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.
Stuart Prescott <[email protected]> (supplier of updated python-installer
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: Sat, 05 Sep 2026 12:40:43 +1000
Source: python-installer
Architecture: source
Version: 1.0.1+dfsg1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Stuart Prescott <[email protected]>
Closes: 1146599
Changes:
python-installer (1.0.1+dfsg1-3) unstable; urgency=medium
.
* Cherry-pick upstream patch for compatibility with Python 3.15, with thanks
to Maximiliano Curia for both the bug report and finding the patch
(Closes: #1146599).
Checksums-Sha1:
fd1299cabbbad893bdab7874a1b600918d9a460f 2785
python-installer_1.0.1+dfsg1-3.dsc
5e0fd0fcb128f8665b89a39c7f5368c4f9aae5e2 5176
python-installer_1.0.1+dfsg1-3.debian.tar.xz
28f120699d141bcecd8b51b58640763c00c5f665 82320
python-installer_1.0.1+dfsg1-3.git.tar.xz
0fe0d7561324daf2278ea185f981bddc14b687cc 17728
python-installer_1.0.1+dfsg1-3_source.buildinfo
Checksums-Sha256:
8bceb2807f0969fb0cac21bcdeaf1e6b0cb0a568234a9afa5dd188f3d6708386 2785
python-installer_1.0.1+dfsg1-3.dsc
c1b4966780c17a40121b118beacfc484208d8bf185259694974ba2cbeb2802c3 5176
python-installer_1.0.1+dfsg1-3.debian.tar.xz
5c0efc28548e67682e7201836e14bed42e0fb08a8366f9114fa8c02ade8a84b8 82320
python-installer_1.0.1+dfsg1-3.git.tar.xz
efdf6f986f8a9754d8412c7720e4ce2512b87d1a10cb4acfefdbd4a197abf9c7 17728
python-installer_1.0.1+dfsg1-3_source.buildinfo
Files:
0dc957f6e07b1ae14ebdc9f9c8e74d4c 2785 python optional
python-installer_1.0.1+dfsg1-3.dsc
04eed8bae25cca83c6e9d880b336aa79 5176 python optional
python-installer_1.0.1+dfsg1-3.debian.tar.xz
a8cc7ee625d2cebb4c0b7808c0e6ba51 82320 python None
python-installer_1.0.1+dfsg1-3.git.tar.xz
f4ccd87f22cc7b2944adea0a44663fc6 17728 python optional
python-installer_1.0.1+dfsg1-3_source.buildinfo
Git-Tag-Info: tag=f9326cd632dde7ddc88a0bb3253eaa63b50fd564
fp=90e2d2c1ad146a1b7ebb891dbbc17ebb1396f2f7
Git-Tag-Tagger: Stuart Prescott <[email protected]>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmqbgvAACgkQYG0ITkaD
wHmtjRAA4wsB+jtl478ckHyrbRYklBMw7w174CiSzaXDN6AR+Nzetc4yRQG5PgBv
UsFJQtVwssvGoxwa/SriipjClVnf2zmRc76zaQXnQ6/HdaFTSpjrbGok8ngCiO0z
H9rWsK57eyc2LKVarvSoSNznK7vcAwLcEtXj+Bl2fDRiQy/OmYHnXEV0Yba+Z3yq
HYC2Em0bJ7ZLI+GMpR9g6X8pLrlzN3PjUbrtGEaYlOqKIltQKg5mzDroYH1dusZ8
8qrJc5NPoGgPp3BZMjQOWcGsnrhIL8naXvNMIEGSqfwB8P75EYJokDrIBf/dY8Dc
FtgyMJGmqjiKPTOV1LuCFI1HhfAKr9o3FfPbIx7pyXYyk1JJe2ak/2XdmV1JGFFd
AnwVRrMFa2CLCVwYxAWewoAEvfe32J8EY1Jvpqs3Sd4JfbOtp+2eB4vCpjxyfcL3
hs8e+IolX6OdQkp1Ogs3JargrQvrfMnWvPuLamv8VqmeAM4pyUEAhPU7Ys/jVhn0
LslqCoWSxjWGE/0I7PRdo1V2qeKF29roN1/7P46QY0Xp33lkIsc32IyzwboT8u0w
BhCy4X+9UuWSqrDGpbEk9AB+Os/l7sl8tu7Rn6yWXKKsMSIbOY/TAPAFUMjDdglt
qWzkcHknN+EgZ5g12sq7nP+dPUiQxVHILSF7NceVzs5IGLl/MFI=
=thLP
-----END PGP SIGNATURE-----
pgpC6AH6NQHlP.pgp
Description: PGP signature
--- End Message ---