#1151463 python-gitlab: FTBFS with dh-python 7.20261019

#1151463#5
Date:
2026-10-20 19:10:33 UTC
From:
To:
Package: src:python-gitlab
Version: 1:8.5.0-1
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: ftbfs, forky, sid
Severity: serious

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-gitlab 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/5118699/