1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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>
This commit is contained in:
Hugo Buddelmeijer
2026-02-09 21:17:18 +01:00
committed by Sharlatan Hellseher
parent 83a781aa1b
commit fcd9f151c4

View File

@@ -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")