guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: python-coveralls: Update to 3.1.0.


From: guix-commits
Subject: 02/03: gnu: python-coveralls: Update to 3.1.0.
Date: Sat, 17 Jul 2021 13:43:19 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 4933641bb1df52aea9299087f1f94c2eba4a85c4
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Jun 28 12:17:59 2021 +0200

    gnu: python-coveralls: Update to 3.1.0.
    
    * gnu/packages/python-check.scm (python-coveralls): Update to 3.1.0.
    [arguments]: Remove trailing #t's.
    [native-inputs]: Add PYTHON-RESPONSES.
---
 gnu/packages/python-check.scm | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 122098a..2a4f50a 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -116,7 +116,7 @@ are useful when writing automated tests in Python.")
 (define-public python-coveralls
   (package
     (name "python-coveralls")
-    (version "1.11.1")
+    (version "3.1.0")
     (home-page "https://github.com/coveralls-clients/coveralls-python";)
     (source
      (origin
@@ -126,21 +126,19 @@ are useful when writing automated tests in Python.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "1zr1lqdjcfwj6wcx2449mzzjq8bbhwnqcm5vdif5s8hlz35bjxkp"))))
+         "1rpdv7rhs4xy6q4s63krrfhwihli9vla0qsw64vls0naail9yjn3"))))
     (build-system python-build-system)
     (arguments
      '(#:phases (modify-phases %standard-phases
                   (add-before 'check 'disable-git-test
                     (lambda _
                       ;; Remove test that requires 'git' and the full checkout.
-                      (delete-file "tests/git_test.py")
-                      #t))
+                      (delete-file "tests/git_test.py")))
                   (replace 'check
                     (lambda* (#:key tests? #:allow-other-keys)
                       (if tests?
                           (invoke "pytest" "-vv")
-                          (format #t "test suite not run~%"))
-                      #t)))))
+                          (format #t "test suite not run~%")))))))
     (propagated-inputs
      `(("python-coverage" ,python-coverage)
        ("python-docopt" ,python-docopt)
@@ -148,7 +146,8 @@ are useful when writing automated tests in Python.")
        ("python-requests" ,python-requests)))
     (native-inputs
      `(("python-mock" ,python-mock)
-       ("python-pytest" ,python-pytest)))
+       ("python-pytest" ,python-pytest)
+       ("python-responses" ,python-responses)))
     (synopsis "Show coverage stats online via coveralls.io")
     (description
      "Coveralls.io is a service for publishing code coverage statistics online.



reply via email to

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