gnu: python-dkist: Fix tests.

* gnu/packages/astronomy.scm (python-dkist)[arguments] <test-flags>:
Ignore benchmark tests.
[native-inputs]: Remove python-pytest-benchmark.

Change-Id: Id71d740c568e2c0e70b6452bf770e635c1267b4e
This commit is contained in:
Sharlatan Hellseher 2025-09-21 16:35:19 +01:00
parent cd710165a0
commit 477b87186f
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3761,6 +3761,11 @@ Cesium.")
(list
#:test-flags
#~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))
;; When python-pytest-benchmark is added: Benchmarks are
;; automatically disabled because xdist plugin is
;; active.Benchmarks cannot be performed reliably in a
;; parallelized environment.
"--ignore=dkist/tests/test_benchmarks.py"
;; Network access is required.
"--deselect=dkist/net/tests/test_client.py::test_fetch_with_headers")
#:phases
@ -3773,7 +3778,6 @@ Cesium.")
(native-inputs
(list python-pydot
python-pytest
python-pytest-benchmark
python-pytest-cov
python-pytest-doctestplus
python-pytest-filter-subpackage