#1145838 python-pkginfo: FTBFS against python 3.15rc1

#1145838#5
Date:
2026-08-27 08:49:42 UTC
From:
To:
Package: src:python-pkginfo
Version: 1.12.1.2-2
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: patch, ftbfs, forky, sid

Hi!

While rebuilding the python related packages against the Python 3.15rc1
version we found that python-pkginfo fails to build from source [1].

The issue seems to be two fold, pytest-cov's
/usr/lib/python3/dist-packages/pytest_cov-7.1.0.dist-info/METADATA
declares:
Requires-Dist: coverage[toml]>=7.10.6
which is not available in Debian (I'll report another bug about this),
and the patch included in python-pkginfo still let's tox to try to
fulfill the dependencies (which then tries to install a newer version of
coverage.
I've updated the patch to remove the dependencies, so pytest uses the
modules in the system.

I applied the upstream fix in the sandbox [2] to be able to build the
packages that depend on python-pkginfo, please consider applying the
patch to support the upcoming 3.15 version.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/1116139/
[2]: https://debusine.debian.net/debian/r-python-python3.15/