diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-02-12 11:23:57 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-03-20 14:11:38 +0000 |
| commit | 231e788ab29592d7e278d3fa719d0d741276497f (patch) | |
| tree | 231e5b6f077bb3db7887348a45dca0e41d57d160 /gnu | |
| parent | 5faf1036e5d0abc69b394e81bfe8ffa31fab3ef8 (diff) | |
gnu: python-pysat: Improve python-pytest-cov removal.
* gnu/packages/astronomy.scm (python-pysat)[arguments]
<#:test-flags>: Add addopts option override.
<#:phases>: Drop patch in phase 'pre-check.
Change-Id: I5090524fb3dbd47797620516d080900afdb1bf4a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/astronomy.scm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 5ba2d4067f8..0a949e50788 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -7857,6 +7857,7 @@ Features: #~(list "--durations=10" ; report 10 slowest tests "--numprocesses" (number->string (min 8 (parallel-job-count))) ;; Tests require pysatSpaceWeather which is not packed yet. + "-o" "addopts=''" ; Avoid -p pytest_cov. "--ignore=pysat/tests/test_utils_files.py" ;; TODO: Report upstream, probably comparability issue with ;; Pandas v2.3.3. Tests fail with error: @@ -7883,9 +7884,6 @@ Features: (setenv "HOME" "/tmp"))) (add-before 'check 'pre-check (lambda _ - ;; Do not run test coverage. - (substitute* "pyproject.toml" - ((".*addopts.*cov.*") "")) (mkdir "pysatData") (invoke "python" "-c" "import pysat; pysat.params['data_dirs'] = 'pysatData'")))))) |
