From 477b87186f65117a798e823af719d5af58cbbe06 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 21 Sep 2025 16:35:19 +0100 Subject: [PATCH] gnu: python-dkist: Fix tests. * gnu/packages/astronomy.scm (python-dkist)[arguments] : Ignore benchmark tests. [native-inputs]: Remove python-pytest-benchmark. Change-Id: Id71d740c568e2c0e70b6452bf770e635c1267b4e --- gnu/packages/astronomy.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 47ddba9d3ff77e4c5c90796d5d97c73a04cac99f..09361f1061efccebb67b4ba1cf20e36e8fc84cbf 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