[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/07: gnu: python-importmagic: Fix test failure.
From: |
guix-commits |
Subject: |
01/07: gnu: python-importmagic: Fix test failure. |
Date: |
Wed, 9 Feb 2022 18:25:08 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 15168f2432302cec8e5eba7dc170bee1fa9fd9ea
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Tue Feb 8 09:19:55 2022 +0100
gnu: python-importmagic: Fix test failure.
* gnu/packages/python-xyz.scm (python-importmagic)[arguments]: Replace check
phase.
[native-inputs]: Add PYTHON-PYTEST.
---
gnu/packages/python-xyz.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 537a2eef35..41b60325d2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8243,6 +8243,15 @@ need to use the older and less efficient
@code{pkg_resources} package.")
(base32
"1n7qxa1snj06aw45mcfz7bxc46zp7fxj687140g2k6jcnyjmfxrz"))))
(build-system python-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-v")))))))
+ (native-inputs
+ (list python-pytest))
(home-page "https://github.com/alecthomas/importmagic")
(synopsis "Library for adding, removing and managing Python imports")
(description
- branch master updated (32ccbc3a1e -> f97fe92b57), guix-commits, 2022/02/09
- 06/07: gnu: cpplint: Update to 1.5.5., guix-commits, 2022/02/09
- 01/07: gnu: python-importmagic: Fix test failure.,
guix-commits <=
- 03/07: gnu: juCi++: Remove input labels., guix-commits, 2022/02/09
- 04/07: gnu: juCi++: Use G-expressions., guix-commits, 2022/02/09
- 05/07: gnu: juCi++: Unbundle embedded copy of "nlohmann" JSON library., guix-commits, 2022/02/09
- 02/07: gnu: juCi++: Update to 1.7.1., guix-commits, 2022/02/09
- 07/07: gnu: cpplint: Reduce closure size., guix-commits, 2022/02/09