Your message dated Tue, 01 Sep 2026 20:35:22 +0000
with message-id <[email protected]>
and subject line Bug#1145163: fixed in python-pyproject-hooks 1.2.0-2
has caused the Debian Bug report #1145163,
regarding python-pyproject-hooks: 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.)
--
1145163: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1145163
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-pyproject-hooks
Version: 1.2.0-1
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-pyproject-hooks fails to build from source[1].
This is due to the use of a the deprecated commonprefix, upstream has a
fix for this issue in the commit
f230da Use os.path.commonpath() instead of commonprefix()
I'm attaching a patch with the upstream fix.
Please consider including this patch in your next upload.
Happy hacking,
[1]:
https://debusine.debian.net/debian/r-python-python3.15/work-request/1073847/
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
commit f230da76573e32003cf42746b32821f32b0beda6
Author: Seth Michael Larson <[email protected]>
Date: Tue Feb 3 19:43:44 2026 +0000
Use os.path.commonpath() instead of commonprefix()
Index: python-pyproject-hooks/src/pyproject_hooks/_impl.py
===================================================================
--- python-pyproject-hooks.orig/src/pyproject_hooks/_impl.py
+++ python-pyproject-hooks/src/pyproject_hooks/_impl.py
@@ -112,12 +112,9 @@ def norm_and_check(source_tree: str, req
abs_source = os.path.abspath(source_tree)
abs_requested = os.path.normpath(os.path.join(abs_source, requested))
- # We have to use commonprefix for Python 2.7 compatibility. So we
- # normalise case to avoid problems because commonprefix is a character
- # based comparison :-(
norm_source = os.path.normcase(abs_source)
norm_requested = os.path.normcase(abs_requested)
- if os.path.commonprefix([norm_source, norm_requested]) != norm_source:
+ if os.path.commonpath([norm_source, norm_requested]) != norm_source:
raise ValueError("paths must be inside source tree")
return abs_requested
--- End Message ---
--- Begin Message ---
Source: python-pyproject-hooks
Source-Version: 1.2.0-2
Done: Scott Talbert <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-pyproject-hooks, 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.
Scott Talbert <[email protected]> (supplier of updated python-pyproject-hooks
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: Tue, 01 Sep 2026 16:20:29 -0400
Source: python-pyproject-hooks
Architecture: source
Version: 1.2.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Scott Talbert <[email protected]>
Closes: 1145163
Changes:
python-pyproject-hooks (1.2.0-2) unstable; urgency=medium
.
* Use os.path.commonpath to fix FTBFS w/ Python 3.15 (Closes: #1145163)
* Update Standards-Version to 4.7.4 (no changes needed)
* Drop Priority and Rules-Requires-Root
* Update d/watch to v5
Checksums-Sha1:
4322e033019df6b90775b5504fdd40e9cc344fcf 2351
python-pyproject-hooks_1.2.0-2.dsc
99929f5c2598864ff72988717d02d1936e0fbb01 3280
python-pyproject-hooks_1.2.0-2.debian.tar.xz
4cc0a24d37007ea07493a7f40479f1ee7f80d009 7341
python-pyproject-hooks_1.2.0-2_amd64.buildinfo
Checksums-Sha256:
b5e63c5fa1b0bd38be9532438cdfc737718fd33c94f2384bcf33f83cb65facf1 2351
python-pyproject-hooks_1.2.0-2.dsc
9e8f1772240f1fcba00479f920a9d6152ea761c79f11d0ab2183dda48b5481db 3280
python-pyproject-hooks_1.2.0-2.debian.tar.xz
461a1d91d20a2c209fcf5976ae894d0d5781a4f794542a4b65deb24747a45bb7 7341
python-pyproject-hooks_1.2.0-2_amd64.buildinfo
Files:
623d3e6960515fafdc8084d3e4755501 2351 python optional
python-pyproject-hooks_1.2.0-2.dsc
ae95d23dd9352a961d8f320701880253 3280 python optional
python-pyproject-hooks_1.2.0-2.debian.tar.xz
d9178883a6c16580cb4096f1bdb655a3 7341 python optional
python-pyproject-hooks_1.2.0-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEEbnQ09Yl9Q7F/zVe3U9W8ZLUjeKIFAmqXNG4PHHN3dEB0ZWNo
aWUubmV0AAoJEFPVvGS1I3iiEmwP/05SJ9exYhtaUhYvbP0FUpOFydd9t0ZY4HZ+
m+IF6qZh7n2rsg44daNfNMf+quZVz5Nqc7YfHSb7NRPMUub7eILxyBJkXyQfnhDq
TCS/HaK8h30pOCd/isfk8XvCikgOZv1lb5nOktbnM3mAMeQBZPW6cNZk7qhTmszQ
0OEhgVtlCt8MTOUdSPYWV0EHaCyM8lf5lfSbGXHFtFvlodfpv96DQ3BLdYtcFC2F
dDxgV1MXfxDNu2XyO63vUhe1/wyRK4M1QqpA88BaEhAOghTzvmNVyhITtHgONysa
O82SZ/afozXI/mHYfySrAoM0EY+MJ9r9iYiLgKT+erSHgVGr02vbW6YZfKjLDL3l
j4EzpTYbMxlm4Wsoh0hJLqwbJXXv+5TsgV4SuplLRaE0S6PYg3V7ngImG0UpLr9I
ZIj7YjzPLy3dRjKIywIscjDbAvZnvGV2TVdb1mPrYy8Fv4M7u/xjvZfzFkbuCs+z
28Axxqkq2PKvcXUghD5TZa9bulVDQsgNLXWpc03yLX5wdEqt3oG+riPVgV2TI3xB
mTMSWsUh6MMkEHavcWdiMsBDMKw+k12dPhOtrL973iea/qOB1VjvQ3ZGa86iGstP
UHMffPuk5RmnG2SGzUq6GOYbZUYtIJ5JTdwMgoDT0VfLYwhKotni7f8S0qHR3BMR
jmSvR6Ht
=DUlN
-----END PGP SIGNATURE-----
pgprjUtGx4byv.pgp
Description: PGP signature
--- End Message ---