diff options
| author | Hugo Buddelmeijer <hugo@buddelmeijer.nl> | 2026-07-12 12:27:25 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-08 23:02:22 +0100 |
| commit | cc4a0c9e55b4db6527b6968fc334ec44329e9ef6 (patch) | |
| tree | b6a0732d1e0839962bd85252ddd834ffe8e9ed82 /gnu/packages/python-check.scm | |
| parent | 60f6cc0e10ece1dbcf827ad18bc62832e45e81b8 (diff) | |
gnu: python-pytest-harvest: Fix build and update to 1.10.5-0.65ca633.
* gnu/packages/python-check.scm (python-pytest-harvest): To 1.10.5-0.65ca633.
[source]: Switch to git-fetch for tests.
[arguments]<#:tests?>: Enable tests.
<#:test-flag>: Disable test that requires dependency cycle.
[native-inputs]: Add python-numpy, python-pandas, and python-tabulate.
[description: Fix grammar.
Relates-to: guix/guix!9885
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index d8f747a7b0d..0a8665567b2 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm | |||
| @@ -3255,20 +3255,34 @@ times and detect flakiness.") | |||
| 3255 | (define-public python-pytest-harvest | 3255 | (define-public python-pytest-harvest |
| 3256 | (package | 3256 | (package |
| 3257 | (name "python-pytest-harvest") | 3257 | (name "python-pytest-harvest") |
| 3258 | (version "1.10.5") | 3258 | ;; Latest commit does not require python-six and has better test structure. |
| 3259 | (properties '((commit . "65ca6337462913f5a0d3c960de70ebd5ae042c21") | ||
| 3260 | (revision . "0"))) | ||
| 3261 | (version (git-version "1.10.5" | ||
| 3262 | (assoc-ref properties 'revision) | ||
| 3263 | (assoc-ref properties 'commit))) | ||
| 3259 | (source | 3264 | (source |
| 3260 | (origin | 3265 | (origin |
| 3261 | (method url-fetch) | 3266 | (method git-fetch) |
| 3262 | (uri (pypi-uri "pytest-harvest" version)) | 3267 | (uri (git-reference |
| 3268 | (url "https://github.com/smarie/python-pytest-harvest") | ||
| 3269 | (commit (assoc-ref properties 'commit)))) | ||
| 3270 | (file-name (git-file-name name version)) | ||
| 3263 | (sha256 | 3271 | (sha256 |
| 3264 | (base32 "066lqx46hqlvllq6ppmyi47fjc1dww7jwa4wfkkx2hrf3z7s9kr7")))) | 3272 | (base32 "1wxgn2hb160sknha38gazgk2cvr9h54x4hcjarbpghxfa1qqpghp")))) |
| 3265 | (build-system pyproject-build-system) | 3273 | (build-system pyproject-build-system) |
| 3266 | (arguments | 3274 | (arguments |
| 3267 | (list #:tests? #f)) ;XXX: cycle with python-pytest-harvest | 3275 | (list |
| 3276 | #:test-flags | ||
| 3277 | ;; Break dependency cycle with python-pytest-cases. | ||
| 3278 | #~(list "--ignore=tests/test_lazy_and_harvest.py"))) | ||
| 3268 | (native-inputs | 3279 | (native-inputs |
| 3269 | (list python-pytest-bootstrap | 3280 | (list python-pytest-bootstrap |
| 3281 | python-numpy | ||
| 3282 | python-pandas | ||
| 3270 | python-setuptools | 3283 | python-setuptools |
| 3271 | python-setuptools-scm)) | 3284 | python-setuptools-scm |
| 3285 | python-tabulate)) | ||
| 3272 | (propagated-inputs | 3286 | (propagated-inputs |
| 3273 | (list python-decopatch | 3287 | (list python-decopatch |
| 3274 | python-makefun | 3288 | python-makefun |
| @@ -3276,7 +3290,7 @@ times and detect flakiness.") | |||
| 3276 | (home-page "https://github.com/smarie/python-pytest-harvest") | 3290 | (home-page "https://github.com/smarie/python-pytest-harvest") |
| 3277 | (synopsis "Pytest plugin to store data during runs") | 3291 | (synopsis "Pytest plugin to store data during runs") |
| 3278 | (description | 3292 | (description |
| 3279 | "This package implements a functionality to store data created during your | 3293 | "This package implements functionality to store data created during your |
| 3280 | pytest tests execution, and retrieve it at the end of the session, e.g. for | 3294 | pytest tests execution, and retrieve it at the end of the session, e.g. for |
| 3281 | applicative benchmarking purposes.") | 3295 | applicative benchmarking purposes.") |
| 3282 | (license license:bsd-3))) | 3296 | (license license:bsd-3))) |
