Browse Source

Fix build with tox4. Closes: #1035640

Christoph Biedl 8 months ago
parent
commit
0def32bd76
2 changed files with 9 additions and 0 deletions
  1. 1 0
      debian/control
  2. 8 0
      debian/patches/2022-06-05.adjust-tox.patch

+ 1 - 0
debian/control

@@ -12,6 +12,7 @@ Build-Depends: debhelper-compat (= 13),
     python3-coverage,
     python3-pytest,
     python3-setuptools,
+    python3-wheel,
     tox,
 Priority: extra
 Rules-Requires-Root: no

+ 8 - 0
debian/patches/2022-06-05.adjust-tox.patch

@@ -14,3 +14,11 @@ Forwarded: not-needed
  
  setenv =
    COVERAGE_FILE=.coverage.{envname}
+@@ -21,6 +21,7 @@
+     .[test]
+     coverage
+     pytest
++allowlist_externals = python3-coverage
+ 
+ [testenv:coverage-clean]
+ deps = coverage