gnu: Add python-pytest-split.

* gnu/packages/python-check.scm (python-pytest-split): New variable.

Change-Id: If5137abe8d1dd5f9cb6a8f93bd7e740cf5fcec94
This commit is contained in:
Sharlatan Hellseher 2025-11-04 10:46:50 +00:00
parent 42df16cf78
commit 8245801e61
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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")