mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
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>
This commit is contained in:
committed by
Sharlatan Hellseher
parent
5faf1036e5
commit
231e788ab2
@@ -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'"))))))
|
||||
|
||||
Reference in New Issue
Block a user