#1151965 python-bcj: FTBFS with dh-python 7.20261019

Package:
src:python-bcj
Source:
src:python-bcj
Submitter:
Margarita Manterola
Date:
2026-10-25 11:15:01 UTC
Severity:
normal
Tags:
#1151965#5
Date:
2026-10-25 10:40:37 UTC
From:
To:
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-bcj is one of the affected packages and fails to build
with the latest dh-python.

https://buildd.debian.org/status/package.php?p=python-bcj

W: dh_python3 fs:156: Paths differ: debian/python3-bcj/usr/lib/python3.15/dist-packages/.hypothesis/constants/67b0a8ccf18bf5d2 and debian/python3-bcj/usr/lib/python3/dist-packages/.hypothesis/constants/67b0a8ccf18bf5d2
W: dh_python3 fs:156: Paths differ: debian/python3-bcj/usr/lib/python3.15/dist-packages/.hypothesis/constants/49af259318bdf10a and debian/python3-bcj/usr/lib/python3/dist-packages/.hypothesis/constants/49af259318bdf10a
E: dh_python3 fs:172: Not everything in 'debian/python3-bcj/usr/lib/python3.15/dist-packages/.hypothesis/constants' was able to be merged into 'debian/python3-bcj/usr/lib/python3/dist-packages/.hypothesis/constants'.
I: dh_python3 fs:179: Remaining files: debian/python3-bcj/usr/lib/python3.15/dist-packages/.hypothesis/constants/49af259318bdf10a

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.

#1151965#12
Date:
2026-10-25 11:02:58 UTC
From:
To:
YOKOTA Hiroshi uploaded 1.0.8-4 while I was filing the bugs.
#1151965#13
Date:
2026-10-25 11:12:44 UTC
From:
To:
Hello,

This bug was fixed in python-bcj/1.0.8-4.