#1151453 python-aioraven: FTBFS with dh-python 7.20261019

#1151453#5
Date:
2026-10-20 19:05:39 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-aioraven is one of the affected packages and fails to build with the latest dh-python [1].

Most of these errors can be fixed by being more strict with the files considered for installation. I'll try to submit a patch for this ASAP.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/5118889/

#1151453#10
Date:
2026-10-21 18:04:59 UTC
From:
To:
Control: tags -1 patch
Control: severity -1 important

Hi,

One thing that I didn't explain correctly in the previous message is
that this issue in particular happens when building for 2 different
Python versions (in this case, 3.14 and 3.15), so it won't happen if you
build against sid.

Anyway, here is a patch that solves this problem by disabling namespace
package discovery.

Happy hacking,