guix-commits
[Top][All Lists]
Advanced

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

306/361: gnu: python-pytest-timeout: Update to 2.3.1.


From: guix-commits
Subject: 306/361: gnu: python-pytest-timeout: Update to 2.3.1.
Date: Thu, 21 Nov 2024 06:29:40 -0500 (EST)

sharlatan pushed a commit to branch python-team
in repository guix.

commit de5e5f054af59d1c3d75fca6fbdc995d726fbab3
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 17 11:38:01 2024 +0000

    gnu: python-pytest-timeout: Update to 2.3.1.
    
    * gnu/packages/check.scm (python-pytest-timeout): Update to 2.3.1.
    [build-system]: Swap pyproject-build-system.
    [arguments]<phases>: Use default 'check phase.
    [propagated-inputs]: Remove python-pytest-cov.
    [native-inputs]: Add python-setuptools and python-wheel.
    
    Change-Id: I59da6f90ef8839bce239b6a3199dc58d4a901e81
---
 gnu/packages/check.scm | 21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 25b1c7fba7..854d0e248b 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2090,26 +2090,21 @@ result back.")
 (define-public python-pytest-timeout
   (package
     (name "python-pytest-timeout")
-    (version "2.1.0")
+    (version "2.3.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pytest-timeout" version))
        (sha256
         (base32
-         "1nf339zg6qam3681f72j9c8fbqk8qcilna92psmzh4n60isa0z60"))))
-    (build-system python-build-system)
-    (arguments
-     '(#:phases (modify-phases %standard-phases
-                  (replace 'check
-                    (lambda* (#:key inputs outputs #:allow-other-keys)
-                      ;; Make the installed plugin discoverable by Pytest.
-                      (add-installed-pythonpath inputs outputs)
-                      (invoke "pytest" "-vv"))))))
-    (propagated-inputs
-     (list python-pytest python-pytest-cov))
+         "1nb5a6xf2p9zbcasy8136nbxpm1raag5n0q1rbdcnvjw28lpff8j"))))
+    (build-system pyproject-build-system)
     (native-inputs
-     (list python-pexpect))
+     (list python-pexpect
+           python-setuptools
+           python-wheel))
+    (propagated-inputs
+     (list python-pytest))
     (home-page "https://github.com/pytest-dev/pytest-timeout";)
     (synopsis "Plugin for py.test to abort hanging tests")
     (description



reply via email to

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