From 0c46bd269790e177392461225191c8776fe2943b Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 28 Oct 2025 17:35:05 +0000 Subject: [PATCH] gnu: Add python-pytest-harvest. * gnu/packages/python-check.scm (python-pytest-harvest): New variable. Change-Id: I7863cdee38e7e5fa015d6bf4802b23ffe381cadb --- gnu/packages/python-check.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index d257929d28690b78949a562dfd18de16aaeb1e84..27713a7f77d8db79e96e0829caf1e22f6969722d 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2688,6 +2688,35 @@ times and detect flakyness.") @url{https://github.com/spulec/freezegun, freezegun}.") (license license:expat))) +(define-public python-pytest-harvest + (package + (name "python-pytest-harvest") + (version "1.10.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-harvest" version)) + (sha256 + (base32 "066lqx46hqlvllq6ppmyi47fjc1dww7jwa4wfkkx2hrf3z7s9kr7")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) ;XXX: cycle with python-pytest-harvest + (native-inputs + (list python-pytest-bootstrap + python-setuptools + python-setuptools-scm)) + (propagated-inputs + (list python-decopatch + python-makefun + python-packaging)) + (home-page "https://github.com/smarie/python-pytest-harvest") + (synopsis "Pytest plugin to store data during runs") + (description + "This package implements a functionality to store data created during your +pytest tests execution, and retrieve it at the end of the session, e.g. for +applicative benchmarking purposes.") + (license license:bsd-3))) + (define-public python-pytest-helpers-namespace (package (name "python-pytest-helpers-namespace")