#1145163 python-pyproject-hooks: FTBFS building against python 3.15

#1145163#5
Date:
2026-08-23 11:25:28 UTC
From:
To:
Package: src:python-pyproject-hooks
Version: 1.2.0-1
User: debian-python@lists.debian.org
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/

#1145163#12
Date:
2026-09-01 20:35:22 UTC
From:
To:
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 1145163@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott Talbert <swt@techie.net> (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 ftpmaster@ftp-master.debian.org)
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 <team+python@tracker.debian.org>
Changed-By: Scott Talbert <swt@techie.net>
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-----