1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
Description: Remove "[run] patch" coverage configuration from pyproject.toml
With out this patch, pypdf FTBFS with the following message:
coverage.exceptions.CoverageWarning: Unrecognized option '[tool.coverage.run]
patch=' in config file pyproject.toml
.
"[run] patch" support in coverage was introduced in 7.10. As of today (2026-03-18),
Debian unstable ships coverage 7.8.2.
https://github.com/coveragepy/coveragepy/releases/tag/7.10.0
.
See: https://bugs.debian.org/1131193
Forwarded: not-needed
Author: Santiago Ruano Rincón <santiago@debian.org>
Last-Update: 2026-03-18
Index: pypdf/pyproject.toml
===================================================================
--- pypdf.orig/pyproject.toml
+++ pypdf/pyproject.toml
@@ -104,9 +104,6 @@ known_third_party = ["pytest"]
[tool.coverage.run]
source = ["pypdf"]
branch = true
-patch = [
- "subprocess",
-]
parallel = true
[tool.coverage.report]
|