mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-irispy-lmsal: Update to 0.4.0.
* gnu/packages/astronomy.scm (python-irispy-lmsal): Update to 0.4.0. [arguments] <test-flags>: Skip one more test. Change-Id: Iebc28295f2de58d928ad17c8d51fd19289a162bb
This commit is contained in:
parent
d5e3171df9
commit
d2e60617ad
1 changed files with 12 additions and 3 deletions
|
@ -4813,23 +4813,32 @@ observationally-derived galaxy merger catalogs.")
|
||||||
(define-public python-irispy-lmsal
|
(define-public python-irispy-lmsal
|
||||||
(package
|
(package
|
||||||
(name "python-irispy-lmsal")
|
(name "python-irispy-lmsal")
|
||||||
(version "0.3.1")
|
(version "0.4.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "irispy_lmsal" version))
|
(uri (pypi-uri "irispy_lmsal" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "037ip97kb5sq98shgw4d1c5x7lpbzksampfw7d97x59zbvbmvwhn"))))
|
(base32 "1al7nyw2d2175gbij7ab2q0ks3wsf4b7n6g89ic2mpg4v1ybyxw5"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
;; tests: 68 passed, 1 skipped, 9 deselected, 2 warnings
|
||||||
#:test-flags
|
#:test-flags
|
||||||
;; See: <https://github.com/LM-SAL/irispy-lmsal/issues/83>.
|
;; See: <https://github.com/LM-SAL/irispy-lmsal/issues/83>.
|
||||||
;; Expected:
|
;; Expected:
|
||||||
;; np.float64(0.33)
|
;; np.float64(0.33)
|
||||||
;; Got:
|
;; Got:
|
||||||
;; 0.33
|
;; 0.33
|
||||||
#~(list "--deselect=irispy/obsid.py::irispy.obsid.ObsID")
|
#~(list "--deselect=irispy/obsid.py::irispy.obsid.ObsID"
|
||||||
|
;; TODO: Report upstram.
|
||||||
|
;; Arrays are not almost equal to 4 decimals
|
||||||
|
;; Mismatched elements: 42 / 3601 (1.17%)
|
||||||
|
;; Max absolute difference: 0.34272391
|
||||||
|
;; Max relative difference: 0.00491848
|
||||||
|
;; x: array([0., 0., 0., ..., 0., 0., 0.])
|
||||||
|
;; y: array([0., 0., 0., ..., 0., 0., 0.], dtype='>f4')
|
||||||
|
"-k" "not test_get_latest_response_to_idl")
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
;; XXX: It fails to check SunPy's optional inputs versions.
|
;; XXX: It fails to check SunPy's optional inputs versions.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue