summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-12-15 21:19:21 +0000
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:19:25 +0100
commit4dfb9dde2acb208a675603258a4b3126746c6b20 (patch)
treecdc8f758ba6ce3c7ade5eb83e32f3d4086154ded /gnu/packages/python-check.scm
parentb34db23b8af9e40dec1bf2420aa414e63786d532 (diff)
gnu: python-pytest-randomly: Move to python-check.
* gnu/packages/check.scm (python-pytest-randomly): Move from here ... * gnu/packages/python-check.scm: ... to here. Change-Id: I6f121680e3cb08a88c45b82a9832286631f7ba2d Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm43
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 514bdd21bf9..2f5e7549253 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3523,6 +3523,49 @@ The main usage is to use the @code{qtbot} fixture, responsible for handling
3523interaction, like key presses and mouse clicks.") 3523interaction, like key presses and mouse clicks.")
3524 (license license:expat))) 3524 (license license:expat)))
3525 3525
3526(define-public python-pytest-randomly
3527 (package
3528 (name "python-pytest-randomly")
3529 (version "4.0.1")
3530 (source
3531 (origin
3532 (method git-fetch)
3533 (uri (git-reference
3534 (url "https://github.com/pytest-dev/pytest-randomly")
3535 (commit version)))
3536 (file-name (git-file-name name version))
3537 (sha256
3538 (base32 "0zglnyl3wc2ri9dhkvd1z0ywksk2v1abpdlclc253c8xivv4c3ai"))))
3539 (build-system pyproject-build-system)
3540 (arguments
3541 (list
3542 ;; tests: 23 passed, 13 deselected
3543 #:test-flags
3544 #~(list "-p" "no:randomly"
3545 ;; Skip tests requireing python-factory-boy, python-faker,
3546 ;; python-numpy, and python-pytest-xdist to reduce closure size.
3547 "-k" (string-join
3548 (list "not test_entrypoint_injection"
3549 "test_factory_boy"
3550 "test_faker"
3551 "test_faker_fixture"
3552 "test_it_runs_before_stepwise"
3553 "test_model_bakery"
3554 "test_numpy"
3555 "test_numpy_doesnt_crash_with_large_seed"
3556 "test_xdist")
3557 " and not "))))
3558 (native-inputs
3559 (list python-pytest-bootstrap
3560 python-setuptools))
3561 (home-page "https://github.com/pytest-dev/pytest-randomly")
3562 (synopsis "Pytest plugin to randomly order tests")
3563 (description
3564 "This is a Pytest plugin to randomly order tests and control Python's
3565@code{random.seed}.")
3566 (license license:expat)))
3567
3568
3526(define-public python-pytest-recording 3569(define-public python-pytest-recording
3527 (package 3570 (package
3528 (name "python-pytest-recording") 3571 (name "python-pytest-recording")