guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: python-click: Disable the test suite.


From: Leo Famulari
Subject: 01/02: gnu: python-click: Disable the test suite.
Date: Fri, 5 Jan 2018 13:52:27 -0500 (EST)

lfam pushed a commit to branch core-updates
in repository guix.

commit 6a25c6cd1316371ecf9c08a5c9c73704c2db900a
Author: Leo Famulari <address@hidden>
Date:   Thu Jan 4 13:50:22 2018 -0500

    gnu: python-click: Disable the test suite.
    
    * gnu/packages/python.scm (python-click, python2-click)[arguments]: Skip
    the tests.
---
 gnu/packages/python.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b7e1d3e..906ab2b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1704,7 +1704,10 @@ files.")
          "02qkfpykbq35id8glfgwc38yc430427yd05z1wc5cnld8zgicmgi"))))
     (build-system python-build-system)
     (arguments
-     `(#:phases
+     `(;; The tests are fragile, depending on a specific version of pytest:
+       ;; <https://github.com/pallets/click/issues/823>
+       #:tests? #f
+       #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'fix-paths
            (lambda* (#:key inputs #:allow-other-keys)
@@ -1713,10 +1716,7 @@ files.")
                (substitute* "click/_unicodefun.py"
                  (("'locale'")
                   (string-append "'" glibc "/bin/locale'"))))
-             #t))
-         (replace 'check
-           (lambda _
-             (zero? (system* "make" "test")))))))
+             #t)))))
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (home-page "http://click.pocoo.org";)



reply via email to

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