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

commit 0dd74d0e1679e8deae340ef2b5721892108eeab2
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Dec 15 21:35:26 2025 +0000

    gnu: python-pytest-doctestplus: Update to 1.6.0.
    
    * gnu/packages/python-check.scm (python-pytest-doctestplus): Update to 
1.6.0.
    [phases] {patch-git-path}: Switch to search-input-file.
    [propagated-inputs]: Remove python-setuptools; add python-packaging.
    [native-inputs]: Remove python-pytest and python-wheel; add
    python-pytest-bootstrap and python-setuptools.
    
    Change-Id: Ie3fae7a1a639bf2b3a77dde3cdfd4696a929696e
---
 gnu/packages/python-check.scm | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 2f5e754925..58bdf79a92 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2748,7 +2748,7 @@ doctest to render the object representations.")
 (define-public python-pytest-doctestplus
   (package
     (name "python-pytest-doctestplus")
-    (version "1.2.1")
+    (version "1.6.0")
     (source
      (origin
        (method url-fetch)
@@ -2758,6 +2758,7 @@ doctest to render the object representations.")
     (build-system pyproject-build-system)
     (arguments
      (list
+      ;; tests: 44 passed, 6 deselected, 1 xfailed
       #:test-flags
       #~(list "-k" (string-join
                     ;; Tests requiring network access.
@@ -2771,19 +2772,18 @@ doctest to render the object representations.")
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'patch-git-path
-            (lambda _
+            (lambda* (#:key inputs #:allow-other-keys)
               (substitute* "pytest_doctestplus/plugin.py"
                 (("\"git\"")
-                 (format #f "'~a/bin/git'"
-                         #$(this-package-native-input "git-minimal")))))))))
+                 (format #f "~s" (search-input-file inputs "/bin/git")))))))))
     (native-inputs
      (list git-minimal/pinned
            python-numpy
-           python-pytest
-           python-setuptools-scm
-           python-wheel))
+           python-pytest-bootstrap
+           python-setuptools
+           python-setuptools-scm))
     (propagated-inputs
-     (list python-setuptools)) ;for pkg_resources
+     (list python-packaging))
     (home-page "https://github.com/astropy/pytest-doctestplus";)
     (synopsis "Pytest plugin with advanced doctest features")
     (description

Reply via email to