guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

119/150: gnu: python-pytest-doctestplus: Add missing build input.


From: guix-commits
Subject: 119/150: gnu: python-pytest-doctestplus: Add missing build input.
Date: Sun, 24 Apr 2022 05:12:32 -0400 (EDT)

lbraun pushed a commit to branch wip-python-pep517
in repository guix.

commit 40a5716696e8e51ea2be77c060e2f8204cb6913e
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sat Jan 8 15:49:31 2022 +0100

    gnu: python-pytest-doctestplus: Add missing build input.
    
    * gnu/packages/python-check.scm (python-pytest-doctestplus)[arguments]:
    Remove custom #:phases.
    [native-inputs]: python-pip.
---
 gnu/packages/python-check.scm | 18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 79c9630cb6..2cd2da2d4f 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -472,24 +472,8 @@ are too large to conveniently hard-code them in the 
tests.")
        (sha256
         (base32 "0j1lvlj3ps975q9hmg8i6rpqm0313j3r18bc3l8mz6khb7vav4zk"))))
     (build-system python-build-system)
-    (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
-             ;; Make the installed plugin discoverable by Pytest.
-             (when tests?
-               (add-installed-pythonpath inputs outputs)
-               (invoke "python" "-m" "pytest" "-k"
-                       (string-append   ; skip tests that require remote data
-                        "not test_remote_data_url"
-                        " and not test_remote_data_float_cmp"
-                        " and not test_remote_data_ignore_whitespace"
-                        " and not test_remote_data_ellipsis"
-                        " and not test_remote_data_requires"
-                        " and not test_remote_data_ignore_warnings"))))))))
     (native-inputs
-     (list python-pytest python-setuptools-scm))
+     (list python-pytest python-pip))
     (home-page "https://github.com/astropy/pytest-doctestplus";)
     (synopsis "Pytest plugin with advanced doctest features")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]