guix-commits
[Top][All Lists]
Advanced

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

07/10: gnu: python-wtforms: Don't run style and coverage tests.


From: guix-commits
Subject: 07/10: gnu: python-wtforms: Don't run style and coverage tests.
Date: Wed, 15 Sep 2021 17:41:42 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 16236cda58565b122e81e1f87a80a3e942ba6a3e
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Sep 15 19:30:21 2021 +0200

    gnu: python-wtforms: Don't run style and coverage tests.
    
    Such tests are fragile and does not affect functionality of the package.
    
    * gnu/packages/python-web.scm (python-wtforms)[arguments]: In the check 
phase,
    disable code coverage and pep8.
    [native-inputs]: Remove PYTHON-COVERAGE and PYTHON-PEP8.
    [source](uri): While at it, remove redundant '.tar.gz' argument to PYPI-URI.
---
 gnu/packages/python-web.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ac9245a..e1742cf 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4155,7 +4155,7 @@ addon modules.")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "WTForms" version ".tar.gz"))
+       (uri (pypi-uri "WTForms" version))
        (sha256
         (base32
          "17427m7p9nn9byzva697dkykykwcp2br3bxvi8vciywlmkh5s6c1"))))
@@ -4174,11 +4174,9 @@ addon modules.")
              (when tests?
                (add-installed-pythonpath inputs outputs)
                (invoke "python" "setup.py" "compile_catalog")
-               (invoke "coverage" "run" "tests/runtests.py" 
"--with-pep8")))))))
+               (invoke "python" "tests/runtests.py")))))))
     (native-inputs
-     `(("python-coverage" ,python-coverage)
-       ("python-dateutil" ,python-dateutil)
-       ("python-pep8" ,python-pep8)
+     `(("python-dateutil" ,python-dateutil)
        ("python-sqlalchemy" ,python-sqlalchemy)))
     (propagated-inputs
      `(("python-babel" ,python-babel)



reply via email to

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