summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2025-01-14 16:03:22 +0800
committerRicardo Wurmus <rekado@elephly.net>2025-01-20 21:37:51 +0100
commita9dec56b8556ad8b5416f6ed8ca62f9c0980f311 (patch)
tree8b52db5fff16e000436c56a455d481a4f9cacaab /gnu/packages/python-check.scm
parent9ac87191fe98c80aac21dd8347ea39ee3c46fcb6 (diff)
gnu: python-pytest-ordering: Switch to maintained fork pytest-order.
* gnu/packages/python-check.scm (python-pytest-ordering): Remove variable. (python-pytest-order): New variable. Change-Id: I094575b90363e8286f26f184bcf02ecd25c8994e
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm35
1 files changed, 13 insertions, 22 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 3a167a76b58..17acfd2997b 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -704,34 +704,25 @@ interactions, which will update them to correspond to the new API.")
704through Python's socket interface") 704through Python's socket interface")
705 (license license:expat))) 705 (license license:expat)))
706 706
707(define-public python-pytest-ordering 707(define-public python-pytest-order
708 (package 708 (package
709 (name "python-pytest-ordering") 709 (name "python-pytest-order")
710 (version "0.6") 710 (version "1.3.0")
711 (source 711 (source
712 (origin 712 (origin
713 ;; No tests in the PyPI tarball. 713 (method url-fetch)
714 (method git-fetch) 714 (uri (pypi-uri "pytest_order" version))
715 (uri (git-reference
716 (url "https://github.com/ftobia/pytest-ordering")
717 (commit version)))
718 (file-name (git-file-name name version))
719 (sha256 715 (sha256
720 (base32 "14msj5gyqza0gk3x7h1ivmjrwza82v84cj7jx3ks0fw9lpin7pjq")))) 716 (base32 "1pixy83l6hcg16gjc04vp4misk2w989alkd9msnw1s9y7pn8yq2i"))))
721 (build-system python-build-system) 717 (build-system pyproject-build-system)
722 (arguments 718 (arguments
723 '(#:phases 719 (list
724 (modify-phases %standard-phases 720 ;; XXX: 4 failed, 18 errors
725 (replace 'check 721 #:tests? #f))
726 (lambda* (#:key inputs outputs #:allow-other-keys)
727 (add-installed-pythonpath inputs outputs)
728 (invoke "pytest" "-vv" "-k"
729 ;; This test fails because of a type mismatch of an
730 ;; argument passed to @code{pytest.main}.
731 "not test_run_marker_registered"))))))
732 (native-inputs 722 (native-inputs
733 (list python-pytest)) 723 (list python-pytest python-pytest-xdist
734 (home-page "https://github.com/ftobia/pytest-ordering") 724 python-setuptools python-wheel))
725 (home-page "https://github.com/pytest-dev/pytest-order")
735 (synopsis "Pytest plugin to run your tests in a specific order") 726 (synopsis "Pytest plugin to run your tests in a specific order")
736 (description 727 (description
737 "This plugin defines Pytest markers to ensure that some tests, or groups 728 "This plugin defines Pytest markers to ensure that some tests, or groups