summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-11-04 10:46:50 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-04 12:05:54 +0000
commit8245801e613dfb7cb4620e13c7feebbb168015fa (patch)
tree554f61ef58f1e076bfa4455d15966a2f46697d85 /gnu/packages
parent42df16cf78b21a4206465d08829bbac8de1dd286 (diff)
gnu: Add python-pytest-split.
* gnu/packages/python-check.scm (python-pytest-split): New variable. Change-Id: If5137abe8d1dd5f9cb6a8f93bd7e740cf5fcec94
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-check.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index d215d8788e8..0eeeab24aed 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3679,6 +3679,39 @@ unexpectedly.")
through Python's socket interface")
(license license:expat)))
+(define-public python-pytest-split
+ (package
+ (name "python-pytest-split")
+ (version "0.10.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jerry-git/pytest-split")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256 (base32 "1w42zkw22h0ydfhbjdjp93frbrzi1rlkr17ifb9kavcbv7kfqxfl"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-pytest-config
+ (lambda _
+ (substitute* "pyproject.toml"
+ (("--cov.*") "")
+ (("--no-cov-on-fail.*") "")))))))
+ (native-inputs
+ (list python-poetry-core
+ python-pytest-bootstrap))
+ (home-page "https://jerry-git.github.io/pytest-split/")
+ (synopsis "Pytest plugin to split the test suite to equally sized sub sutes")
+ (description
+ "This package provides Pytest plugin which splits the test suite to equally
+sized sub suites based on
+test execution time.")
+ (license license:expat)))
+
(define-public python-pytest-steps
(package
(name "python-pytest-steps")