GNU bug report logs - #53019
[PATCHES] Add aerich

Previous Next

Package: guix-patches;

Reported by: Giacomo Leidi <goodoldpaul <at> autistici.org>

Date: Wed, 5 Jan 2022 01:19:01 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Giacomo Leidi <goodoldpaul <at> autistici.org>
To: 53019 <at> debbugs.gnu.org
Cc: Giacomo Leidi <goodoldpaul <at> autistici.org>
Subject: [bug#53019] [PATCH 1/4] gnu: python-dictdiffer: Fix broken test suite.
Date: Wed,  5 Jan 2022 02:24:05 +0100
This patch prevents pytest from running a PEP8 check on the source,
since it breaks pytest's own collection phase.

* gnu/packages/python-xyz.scm (python-dictdiffer)[snippet]: Patch pytest
configuration to prevent PEP8 testing.
---
 gnu/packages/python-xyz.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e04b4f973f..c33f9b3213 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25245,7 +25245,15 @@ (define-public python-dictdiffer
               (uri (pypi-uri "dictdiffer" version))
               (sha256
                (base32
-                "1lk3qmy1hkaphk4n7ayfk0wl6m2yvd6r7qkam6yncqfzgkbc1phs"))))
+                "1lk3qmy1hkaphk4n7ayfk0wl6m2yvd6r7qkam6yncqfzgkbc1phs"))
+              (modules '((guix build utils)))
+              (snippet
+                '(begin
+                   ;; FIXME: PEP8 testing breaks pytest collection phase.
+                   (substitute* "pytest.ini"
+                     (("--pep8")
+                      ""))
+                   #t))))
     (build-system python-build-system)
     (native-inputs
      (list python-check-manifest

base-commit: e675030fba924a1aef2677f8ab912eaa3c46403c
-- 
2.34.0





This bug report was last modified 1 year and 206 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.