[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53019] [PATCH 1/4] gnu: python-dictdiffer: Fix broken test suite.
From: |
Giacomo Leidi |
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