File: 0003-remove-coverage-patch.patch

package info (click to toggle)
pypdf 6.9.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,200 kB
  • sloc: python: 48,695; makefile: 35
file content (28 lines) | stat: -rw-r--r-- 923 bytes parent folder | download
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]