summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-09-21 16:35:19 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:49 +0100
commit477b87186f65117a798e823af719d5af58cbbe06 (patch)
tree09a40a8f6f6f8e3eb59822d6287dce46cacd02a0
parentcd710165a00124773e2a2b6c39517f5832f23e64 (diff)
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
-rw-r--r--gnu/packages/astronomy.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 47ddba9d3f..09361f1061 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -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