Hi!
While preparing the Python 3.15 migration we realized that some Python packages
were shipping broken metadata directories, which leads to errors when trying to
import these directories with code running on Python 3.15.
To avoid shipping any additional broken directories, dh-python 7.20261019 now
throws an error at build-time.
Unfortunately, python-time-machine is one of the affected packages and fails to build with the
latest dh-python.
https://buildd.debian.org/status/package.php?p=python-time-machine
W: dh_python3 fs:156: Paths differ: debian/python3-time-machine/usr/lib/python3.15/dist-packages/.hypothesis/constants/67b0a8ccf18bf5d2 and debian/python3-time-machine/usr/lib/python3/dist-packages/.hypothesis/constants/67b0a8ccf18bf5d2
W: dh_python3 fs:156: Paths differ: debian/python3-time-machine/usr/lib/python3.15/dist-packages/.hypothesis/constants/35bc71a9d33c9918 and debian/python3-time-machine/usr/lib/python3/dist-packages/.hypothesis/constants/35bc71a9d33c9918
W: dh_python3 fs:156: Paths differ: debian/python3-time-machine/usr/lib/python3.15/dist-packages/.hypothesis/constants/bf48e2453ca4bdbc and debian/python3-time-machine/usr/lib/python3/dist-packages/.hypothesis/constants/bf48e2453ca4bdbc
W: dh_python3 fs:156: Paths differ: debian/python3-time-machine/usr/lib/python3.15/dist-packages/.hypothesis/constants/d8352bd850679fb1 and debian/python3-time-machine/usr/lib/python3/dist-packages/.hypothesis/constants/d8352bd850679fb1
E: dh_python3 fs:172: Not everything in 'debian/python3-time-machine/usr/lib/python3.15/dist-packages/.hypothesis/constants' was able to be merged into 'debian/python3-time-machine/usr/lib/python3/dist-packages/.hypothesis/constants'.
I: dh_python3 fs:179: Remaining files: debian/python3-time-machine/usr/lib/python3.15/dist-packages/.hypothesis/constants/35bc71a9d33c9918
debian/python3-time-machine/usr/lib/python3.15/dist-packages/.hypothesis/constants/67b0a8ccf18bf5d2
debian/python3-time-machine/usr/lib/python3.15/dist-packages/.hypothesis/constants/bf48e2453ca4bdbc
debian/python3-time-machine/usr/lib/python3.15/dist-packages/.hypothesis/constants/d8352bd850679fb1
And this is now a release critical issue, because we need to rebuild the package
for the 3.15 transition.
Most of these errors can be fixed by being more strict with the files considered
for installation.