1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 05:30:38 +02:00

gnu: python-pot: Update to 0.9.6.

* gnu/packages/machine-learning.scm (python-pot): Update to 0.9.6.
  [source]: Switch to git-fetch (upstream tag).  Update hash.  Remove
  snippet for deleting 'ot/lp/emd_wrap.cpp'—not present in VCS source.
  [arguments]: Add test-flags to skip 'test_entropic_semirelaxed_gromov'
  (TypeError).
  [native-inputs]: Drop python-wheel; add python-pytest and
  python-pytest-cov.

Change-Id: I8932a58ad9b83fd9c82c21fbb7db23fb06336a64
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Ayan Das
2025-10-27 02:47:08 +05:30
committed by Sharlatan Hellseher
parent 52dfc46279
commit e00a3fb9d6

View File

@@ -1207,15 +1207,25 @@ It currently houses implementations of
(define-public python-pot
(package
(name "python-pot")
(version "0.9.5")
(version "0.9.6")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pot" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/PythonOT/POT")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0hk0dmjgnpwka0a7gyzrcq155wzlvzcrsav3qaizyg0wymzywi4n"))
(snippet '(delete-file "ot/lp/emd_wrap.cpp"))))
(base32 "1zzh6jsnagsmcmf91hhb0f1asnby11h2zc92h7myld4wik986bx7"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
#~(list "-k"
;; Semirelaxed GW init partitions by size via np.where(shapes <= N);
;; dtype mix triggers str vs int TypeError under our NumPy.
"not test_entropic_semirelaxed_gromov"
"test")))
(propagated-inputs
(list python-autograd
python-numpy
@@ -1225,8 +1235,9 @@ It currently houses implementations of
python-scikit-learn
python-scipy))
(native-inputs (list python-cython
python-setuptools
python-wheel))
python-pytest
python-pytest-cov
python-setuptools))
(home-page "https://github.com/PythonOT/POT")
(synopsis "Python Optimal Transport Library")
(description "This Python library provides several solvers for