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

commit 5715cd4676fb96f74d9de3cdefccd6a246a6180a
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Wed Jul 16 17:00:01 2025 +0100

    gnu: python-pytest-subtests: Update to 0.14.2.
    
    * gnu/packages/python-check.scm (python-pytest-subtests): Update to 0.14.2.
      [build-system]: Use pyproject.
      [arguments] <phases>: Use default 'check.
      [propagated-inputs]: Add python-attrs.
      [native-inputs]: Remove python-pytest; add python-pytest-bootstrap,
      python-setuptools, and python-wheel.
    
    Change-Id: I26b878f3a540428b55ab626e1baa55206a6556c8
---
 gnu/packages/python-check.scm | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 65b6d5302b..ce866bbb5d 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3172,23 +3172,21 @@ through Python's socket interface")
 (define-public python-pytest-subtests
   (package
     (name "python-pytest-subtests")
-    (version "0.10.0")
+    (version "0.14.2")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "pytest-subtests" version))
+       (uri (pypi-uri "pytest_subtests" version))
        (sha256
-        (base32 "05zvnxx0hdrd9w4z51qhchg3nkz5s47agryw68g8q7krq5kim5nr"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
-             (when tests?
-               (add-installed-pythonpath inputs outputs)
-               (invoke "python" "-m" "pytest")))))))
-    (native-inputs (list python-pytest python-setuptools-scm))
+        (base32 "1ph0z3a0lywzfw7illl3khydqffi8im2203dlxqfwa6mbxkahm3i"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-pytest-bootstrap
+           python-setuptools
+           python-setuptools-scm
+           python-wheel))
+    (propagated-inputs
+     (list python-attrs))
     (home-page "https://github.com/pytest-dev/pytest-subtests";)
     (synopsis "Unittest subTest() support and subtests fixture")
     (description "This Pytest plugin provides unittest @code{subTest()}

Reply via email to