mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: python-dcor: Update to 0.7.
Upstream still pins on NumPy v1, see: <https://github.com/vnmabus/dcor/issues/69>. * gnu/packages/statistics.scm (python-dcor): Update to 0.7. [arguments]: Drop all. [propagated-inputs]: Add python-array-api-compat. [native-inputs]: Add python-array-api-strict and python-pytest-cov. Change-Id: I6db6499ccff7f2ca4d9dbe2eb717ce523bd26612
This commit is contained in:
parent
5ad3c488c8
commit
0491fe9268
1 changed files with 7 additions and 20 deletions
|
|
@ -670,35 +670,22 @@ and a lot more.")
|
|||
(define-public python-dcor
|
||||
(package
|
||||
(name "python-dcor")
|
||||
(version "0.6")
|
||||
(version "0.7")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "dcor" version))
|
||||
(sha256
|
||||
(base32 "0cc4an2p3ifm62d50w5h83myyhck6vcnrgp691rpid0x21v9glzm"))))
|
||||
(base32 "1knbaygh489v5hz6fggdv09lz323zklqjb5m52pkkv6pjs2l0v9q"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
;; tests: 34 passed, 9 deselected, 1 warning
|
||||
#:test-flags
|
||||
#~(list "-k" (string-join
|
||||
;; TODO: Report upstream, failing with NumPy deprecation
|
||||
;; warning and errors:
|
||||
;; AttributeError: 'numpy.ndarray' object has no attribute '_array'.
|
||||
;; AttributeError: module 'numpy' has no attribute 'bool'.
|
||||
(list "not test_u_v_statistics"
|
||||
"test_same_distribution_different_means"
|
||||
"test_same_distribution_same_parameters"
|
||||
"test_independent_variables"
|
||||
"test_same_variable")
|
||||
" and not ")
|
||||
"dcor/tests")))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
(list python-array-api-strict
|
||||
python-pytest
|
||||
python-pytest-cov ;test collection fails without
|
||||
python-setuptools))
|
||||
(propagated-inputs
|
||||
(list python-joblib
|
||||
(list python-array-api-compat
|
||||
python-joblib
|
||||
python-numba
|
||||
python-numpy-1
|
||||
python-scipy))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue