summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-12-15 21:35:26 +0000
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:19:26 +0100
commitec3c031c3ef585673a1f994282e9f9de3510cb92 (patch)
tree787bd5f689f6baeaa626cf6d11f3414c699efe0b /gnu/packages/python-check.scm
parent4dfb9dde2acb208a675603258a4b3126746c6b20 (diff)
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 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm16
1 files changed, 8 insertions, 8 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 2f5e7549253..58bdf79a923 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2748,7 +2748,7 @@ doctest to render the object representations.")
2748(define-public python-pytest-doctestplus 2748(define-public python-pytest-doctestplus
2749 (package 2749 (package
2750 (name "python-pytest-doctestplus") 2750 (name "python-pytest-doctestplus")
2751 (version "1.2.1") 2751 (version "1.6.0")
2752 (source 2752 (source
2753 (origin 2753 (origin
2754 (method url-fetch) 2754 (method url-fetch)
@@ -2758,6 +2758,7 @@ doctest to render the object representations.")
2758 (build-system pyproject-build-system) 2758 (build-system pyproject-build-system)
2759 (arguments 2759 (arguments
2760 (list 2760 (list
2761 ;; tests: 44 passed, 6 deselected, 1 xfailed
2761 #:test-flags 2762 #:test-flags
2762 #~(list "-k" (string-join 2763 #~(list "-k" (string-join
2763 ;; Tests requiring network access. 2764 ;; Tests requiring network access.
@@ -2771,19 +2772,18 @@ doctest to render the object representations.")
2771 #:phases 2772 #:phases
2772 #~(modify-phases %standard-phases 2773 #~(modify-phases %standard-phases
2773 (add-after 'unpack 'patch-git-path 2774 (add-after 'unpack 'patch-git-path
2774 (lambda _ 2775 (lambda* (#:key inputs #:allow-other-keys)
2775 (substitute* "pytest_doctestplus/plugin.py" 2776 (substitute* "pytest_doctestplus/plugin.py"
2776 (("\"git\"") 2777 (("\"git\"")
2777 (format #f "'~a/bin/git'" 2778 (format #f "~s" (search-input-file inputs "/bin/git")))))))))
2778 #$(this-package-native-input "git-minimal")))))))))
2779 (native-inputs 2779 (native-inputs
2780 (list git-minimal/pinned 2780 (list git-minimal/pinned
2781 python-numpy 2781 python-numpy
2782 python-pytest 2782 python-pytest-bootstrap
2783 python-setuptools-scm 2783 python-setuptools
2784 python-wheel)) 2784 python-setuptools-scm))
2785 (propagated-inputs 2785 (propagated-inputs
2786 (list python-setuptools)) ;for pkg_resources 2786 (list python-packaging))
2787 (home-page "https://github.com/astropy/pytest-doctestplus") 2787 (home-page "https://github.com/astropy/pytest-doctestplus")
2788 (synopsis "Pytest plugin with advanced doctest features") 2788 (synopsis "Pytest plugin with advanced doctest features")
2789 (description 2789 (description