guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit c480d05a9f6e07cbfb145a6b9529654eaaeba81e
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Dec 15 21:19:21 2025 +0000
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
---
gnu/packages/check.scm | 41 -----------------------------------------
gnu/packages/python-check.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+), 41 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index e7ebb2f094..ee181c5b5e 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1911,47 +1911,6 @@ tests. Tests can be rerun in a specific order by
passing a seed value
reported in a previous test run.")
(license license:expat)))
-(define-public python-pytest-randomly
- (package
- (name "python-pytest-randomly")
- (version "4.0.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/pytest-dev/pytest-randomly")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0zglnyl3wc2ri9dhkvd1z0ywksk2v1abpdlclc253c8xivv4c3ai"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- ;; tests: 23 passed, 13 deselected
- #:test-flags
- #~(list "-p" "no:randomly"
- ;; Skip tests requireing python-factory-boy, python-faker,
- ;; python-numpy, and python-pytest-xdist to reduce closure size.
- "-k" (string-join
- (list "not test_entrypoint_injection"
- "test_factory_boy"
- "test_faker"
- "test_faker_fixture"
- "test_it_runs_before_stepwise"
- "test_model_bakery"
- "test_numpy"
- "test_numpy_doesnt_crash_with_large_seed"
- "test_xdist")
- " and not "))))
- (native-inputs
- (list python-pytest-bootstrap
- python-setuptools))
- (home-page "https://github.com/pytest-dev/pytest-randomly")
- (synopsis "Pytest plugin to randomly order tests")
- (description "This is a Pytest plugin to randomly order tests and control
-Python's @code{random.seed}.")
- (license license:expat)))
-
(define-public python-pytest-runner
(package
(name "python-pytest-runner")
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 514bdd21bf..2f5e754925 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
interaction, like key presses and mouse clicks.")
(license license:expat)))
+(define-public python-pytest-randomly
+ (package
+ (name "python-pytest-randomly")
+ (version "4.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pytest-dev/pytest-randomly")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0zglnyl3wc2ri9dhkvd1z0ywksk2v1abpdlclc253c8xivv4c3ai"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; tests: 23 passed, 13 deselected
+ #:test-flags
+ #~(list "-p" "no:randomly"
+ ;; Skip tests requireing python-factory-boy, python-faker,
+ ;; python-numpy, and python-pytest-xdist to reduce closure size.
+ "-k" (string-join
+ (list "not test_entrypoint_injection"
+ "test_factory_boy"
+ "test_faker"
+ "test_faker_fixture"
+ "test_it_runs_before_stepwise"
+ "test_model_bakery"
+ "test_numpy"
+ "test_numpy_doesnt_crash_with_large_seed"
+ "test_xdist")
+ " and not "))))
+ (native-inputs
+ (list python-pytest-bootstrap
+ python-setuptools))
+ (home-page "https://github.com/pytest-dev/pytest-randomly")
+ (synopsis "Pytest plugin to randomly order tests")
+ (description
+ "This is a Pytest plugin to randomly order tests and control Python's
+@code{random.seed}.")
+ (license license:expat)))
+
+
(define-public python-pytest-recording
(package
(name "python-pytest-recording")