guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 0491fe92685fd3b432f54fade93d23a7395188a7
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Jan 23 23:55:05 2026 +0000
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
---
gnu/packages/statistics.scm | 27 +++++++--------------------
1 file changed, 7 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 646d54c578..8e55a1b5ee 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -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))