diff options
| author | Hugo Buddelmeijer <hugo@buddelmeijer.nl> | 2026-02-09 21:17:18 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-10 09:56:00 +0000 |
| commit | fcd9f151c4c317ffb0375b666e5fdbe41385a2d2 (patch) | |
| tree | eec615c9b37749cc342aaff2b7f9401b73a84f9b | |
| parent | 83a781aa1b755006f4669a18e99609d5c24c17bb (diff) | |
gnu: python-dcor: Fix profile collission by switching to NumPy2.
* gnu/packages/statistics.scm (python-dcor): Switch to NumPy2.
[arguments]<#:phases>: Add 'remove-doctests phase.
[propagated-inputs]: Remove python-numpy-1; add python-numpy.
Change-Id: Ib776e540ef1228b71979d2bd96b3100cb18414d0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/statistics.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 93cfc99d23f..43e588b06fc 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -678,6 +678,15 @@ and a lot more.") (sha256 (base32 "1knbaygh489v5hz6fggdv09lz323zklqjb5m52pkkv6pjs2l0v9q")))) (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + ;; doctests require NumPy1. + (add-after 'unpack 'remove-doctests + (lambda _ + (substitute* "setup.cfg" + (("addopts.*") ""))))))) (native-inputs (list python-array-api-strict python-pytest @@ -687,7 +696,7 @@ and a lot more.") (list python-array-api-compat python-joblib python-numba - python-numpy-1 + python-numpy python-scipy)) (home-page "https://dcor.readthedocs.io/") (synopsis "Distance correlation and related E-statistics in Python") |
