#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/