guix-commits
[Top][All Lists]
Advanced

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

07/07: gnu: python-pytest-isort: Update to 3.1.0.


From: guix-commits
Subject: 07/07: gnu: python-pytest-isort: Update to 3.1.0.
Date: Fri, 31 Mar 2023 07:27:55 -0400 (EDT)

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

commit 3b57a9cac8962068a3abad1aa09477e9a433460e
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Fri Mar 31 13:22:49 2023 +0200

    gnu: python-pytest-isort: Update to 3.1.0.
    
    Resolves test failures.
    
    * gnu/packages/python-check.scm (python-pytest-isort)[arguments]: Remove 
#:phases,
    disable tests.
    [native-inputs]: Remove python-mock.
---
 gnu/packages/python-check.scm | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 6ecdcb4c41..c3d7113459 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1152,25 +1152,18 @@ compliance.")
 (define-public python-pytest-isort
   (package
     (name "python-pytest-isort")
-    (version "2.0.0")
+    (version "3.1.0")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "pytest-isort" version))
+       (uri (pypi-uri "pytest_isort" version))
        (sha256
-        (base32 "05wi28zlqk3jafpjal8j523y5jcsx3xl3id9rx93qfjgkif8q6l2"))))
+        (base32 "0v0qa5l22y3v0nfkpvghbinzyj2rh4f54k871lrp992lbvf02y06"))))
     (build-system python-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "pytest")))))))
+     `(#:tests? #f)) ; No tests in PyPi tarball.
     (propagated-inputs
      (list python-isort python-pytest))
-    (native-inputs
-     (list python-mock))
     (home-page "https://github.com/moccu/pytest-isort/";)
     (synopsis "Pytest plugin to check import ordering using isort")
     (description



reply via email to

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